Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
[linux-2.6-block.git] / drivers / media / dvb-frontends / stv6111.h
CommitLineData
3c01ad20 1/* SPDX-License-Identifier: GPL-2.0 */
29ff8406
DS
2/*
3 * Driver for the ST STV6111 tuner
4 *
5 * Copyright (C) 2014 Digital Devices GmbH
29ff8406
DS
6 */
7
44173fda
DS
8#ifndef _STV6111_H_
9#define _STV6111_H_
10
11#if IS_REACHABLE(CONFIG_DVB_STV6111)
12
2af07a49
DS
13struct dvb_frontend *stv6111_attach(struct dvb_frontend *fe,
14 struct i2c_adapter *i2c, u8 adr);
44173fda
DS
15
16#else
17
18static inline struct dvb_frontend *stv6111_attach(struct dvb_frontend *fe,
2af07a49
DS
19 struct i2c_adapter *i2c,
20 u8 adr)
44173fda
DS
21{
22 pr_warn("%s: Driver disabled by Kconfig\n", __func__);
23 return NULL;
24}
25
26#endif /* CONFIG_DVB_STV6111 */
27
28#endif /* _STV6111_H_ */