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