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