This source file includes following definitions.
- lnbp22_attach
1
2
3
4
5
6
7
8
9
10
11 #ifndef _LNBP22_H
12 #define _LNBP22_H
13
14
15 #define LNBP22_EN 0x10
16
17 #define LNBP22_VSEL 0x02
18
19 #define LNBP22_LLC 0x01
20
21 #include <linux/dvb/frontend.h>
22
23 #if IS_REACHABLE(CONFIG_DVB_LNBP22)
24
25
26
27
28 extern struct dvb_frontend *lnbp22_attach(struct dvb_frontend *fe,
29 struct i2c_adapter *i2c);
30 #else
31 static inline struct dvb_frontend *lnbp22_attach(struct dvb_frontend *fe,
32 struct i2c_adapter *i2c)
33 {
34 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
35 return NULL;
36 }
37 #endif
38
39 #endif