This source file includes following definitions.
- bcm3510_attach
1
2
3
4
5
6
7
8
9 #ifndef BCM3510_H
10 #define BCM3510_H
11
12 #include <linux/dvb/frontend.h>
13 #include <linux/firmware.h>
14
15 struct bcm3510_config
16 {
17
18 u8 demod_address;
19
20
21 int (*request_firmware)(struct dvb_frontend* fe, const struct firmware **fw, char* name);
22 };
23
24 #if IS_REACHABLE(CONFIG_DVB_BCM3510)
25 extern struct dvb_frontend* bcm3510_attach(const struct bcm3510_config* config,
26 struct i2c_adapter* i2c);
27 #else
28 static inline struct dvb_frontend* bcm3510_attach(const struct bcm3510_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