This source file includes following definitions.
- mt2131_attach
1
2
3
4
5
6
7
8 #ifndef __MT2131_H__
9 #define __MT2131_H__
10
11 struct dvb_frontend;
12 struct i2c_adapter;
13
14 struct mt2131_config {
15 u8 i2c_address;
16 u8 clock_out;
17 };
18
19 #if IS_REACHABLE(CONFIG_MEDIA_TUNER_MT2131)
20 extern struct dvb_frontend* mt2131_attach(struct dvb_frontend *fe,
21 struct i2c_adapter *i2c,
22 struct mt2131_config *cfg,
23 u16 if1);
24 #else
25 static inline struct dvb_frontend* mt2131_attach(struct dvb_frontend *fe,
26 struct i2c_adapter *i2c,
27 struct mt2131_config *cfg,
28 u16 if1)
29 {
30 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
31 return NULL;
32 }
33 #endif
34
35 #endif