0001
0002
0003
0004
0005
0006
0007
0008 #ifndef MT2266_H
0009 #define MT2266_H
0010
0011 struct dvb_frontend;
0012 struct i2c_adapter;
0013
0014 struct mt2266_config {
0015 u8 i2c_address;
0016 };
0017
0018 #if IS_REACHABLE(CONFIG_MEDIA_TUNER_MT2266)
0019 extern struct dvb_frontend * mt2266_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct mt2266_config *cfg);
0020 #else
0021 static inline struct dvb_frontend * mt2266_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct mt2266_config *cfg)
0022 {
0023 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
0024 return NULL;
0025 }
0026 #endif
0027
0028 #endif