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