0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef QT1010_H
0010 #define QT1010_H
0011
0012 #include <media/dvb_frontend.h>
0013
0014 struct qt1010_config {
0015 u8 i2c_address;
0016 };
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026 #if IS_REACHABLE(CONFIG_MEDIA_TUNER_QT1010)
0027 extern struct dvb_frontend *qt1010_attach(struct dvb_frontend *fe,
0028 struct i2c_adapter *i2c,
0029 struct qt1010_config *cfg);
0030 #else
0031 static inline struct dvb_frontend *qt1010_attach(struct dvb_frontend *fe,
0032 struct i2c_adapter *i2c,
0033 struct qt1010_config *cfg)
0034 {
0035 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
0036 return NULL;
0037 }
0038 #endif
0039
0040 #endif