This source file includes following definitions.
- qt1010_attach
1
2
3
4
5
6
7
8
9 #ifndef QT1010_H
10 #define QT1010_H
11
12 #include <media/dvb_frontend.h>
13
14 struct qt1010_config {
15 u8 i2c_address;
16 };
17
18
19
20
21
22
23
24
25
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);
30 #else
31 static inline struct dvb_frontend *qt1010_attach(struct dvb_frontend *fe,
32 struct i2c_adapter *i2c,
33 struct qt1010_config *cfg)
34 {
35 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
36 return NULL;
37 }
38 #endif
39
40 #endif