1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Driver for Quantek QT1010 silicon tuner
12 #include <media/dvb_frontend.h>
14 struct qt1010_config {
19 * qt1010_attach() - Attach a qt1010 tuner to the supplied frontend structure
21 * @fe: frontend to attach to
22 * @i2c: i2c adapter to use
23 * @cfg: tuner hw based configuration
24 * @return fe pointer on success, NULL on failure
26 #if IS_REACHABLE(CONFIG_MEDIA_TUNER_QT1010)
27 extern struct dvb_frontend *qt1010_attach(struct dvb_frontend *fe,
28 struct i2c_adapter *i2c,
29 struct qt1010_config *cfg);
31 static inline struct dvb_frontend *qt1010_attach(struct dvb_frontend *fe,
32 struct i2c_adapter *i2c,
33 struct qt1010_config *cfg)
35 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
38 #endif // CONFIG_MEDIA_TUNER_QT1010