This source file includes following definitions.
- stv0910_attach
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 #ifndef _STV0910_H_
20 #define _STV0910_H_
21
22 #include <linux/types.h>
23 #include <linux/i2c.h>
24
25 struct stv0910_cfg {
26 u32 clk;
27 u8 adr;
28 u8 parallel;
29 u8 rptlvl;
30 u8 single;
31 u8 tsspeed;
32 };
33
34 #if IS_REACHABLE(CONFIG_DVB_STV0910)
35
36 struct dvb_frontend *stv0910_attach(struct i2c_adapter *i2c,
37 struct stv0910_cfg *cfg, int nr);
38
39 #else
40
41 static inline struct dvb_frontend *stv0910_attach(struct i2c_adapter *i2c,
42 struct stv0910_cfg *cfg,
43 int nr)
44 {
45 pr_warn("%s: driver disabled by Kconfig\n", __func__);
46 return NULL;
47 }
48
49 #endif
50
51 #endif