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