Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / drivers / media / dvb-frontends / stv6111.h
blobf172c3e3d886c25a9b54ba16a5087dfb94f0b3b2
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Driver for the ST STV6111 tuner
5 * Copyright (C) 2014 Digital Devices GmbH
6 */
8 #ifndef _STV6111_H_
9 #define _STV6111_H_
11 #if IS_REACHABLE(CONFIG_DVB_STV6111)
13 struct dvb_frontend *stv6111_attach(struct dvb_frontend *fe,
14 struct i2c_adapter *i2c, u8 adr);
16 #else
18 static inline struct dvb_frontend *stv6111_attach(struct dvb_frontend *fe,
19 struct i2c_adapter *i2c,
20 u8 adr)
22 pr_warn("%s: Driver disabled by Kconfig\n", __func__);
23 return NULL;
26 #endif /* CONFIG_DVB_STV6111 */
28 #endif /* _STV6111_H_ */