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