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