This source file includes following definitions.
- cx22700_attach
1
2
3
4
5
6
7
8
9
10
11 #ifndef CX22700_H
12 #define CX22700_H
13
14 #include <linux/dvb/frontend.h>
15
16 struct cx22700_config
17 {
18
19 u8 demod_address;
20 };
21
22 #if IS_REACHABLE(CONFIG_DVB_CX22700)
23 extern struct dvb_frontend* cx22700_attach(const struct cx22700_config* config,
24 struct i2c_adapter* i2c);
25 #else
26 static inline struct dvb_frontend* cx22700_attach(const struct cx22700_config* config,
27 struct i2c_adapter* i2c)
28 {
29 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
30 return NULL;
31 }
32 #endif
33
34 #endif