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