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