This source file includes following definitions.
- mt2266_attach
1
2
3
4
5
6
7
8 #ifndef MT2266_H
9 #define MT2266_H
10
11 struct dvb_frontend;
12 struct i2c_adapter;
13
14 struct mt2266_config {
15 u8 i2c_address;
16 };
17
18 #if IS_REACHABLE(CONFIG_MEDIA_TUNER_MT2266)
19 extern struct dvb_frontend * mt2266_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct mt2266_config *cfg);
20 #else
21 static inline struct dvb_frontend * mt2266_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct mt2266_config *cfg)
22 {
23 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
24 return NULL;
25 }
26 #endif
27
28 #endif