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