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