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