This source file includes following definitions.
- cxd2880_attach
1
2
3
4
5
6
7
8
9 #ifndef CXD2880_H
10 #define CXD2880_H
11
12 struct cxd2880_config {
13 struct spi_device *spi;
14 struct mutex *spi_mutex;
15 };
16
17 #if IS_REACHABLE(CONFIG_DVB_CXD2880)
18 extern struct dvb_frontend *cxd2880_attach(struct dvb_frontend *fe,
19 struct cxd2880_config *cfg);
20 #else
21 static inline struct dvb_frontend *cxd2880_attach(struct dvb_frontend *fe,
22 struct cxd2880_config *cfg)
23 {
24 pr_warn("%s: driver disabled by Kconfig\n", __func__);
25 return NULL;
26 }
27 #endif
28
29 #endif