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