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