1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 cx24110 - Single Chip Satellite Channel Receiver driver module
15 #include <linux/dvb/frontend.h>
19 /* the demodulator's i2c address */
23 static inline int cx24110_pll_write(struct dvb_frontend *fe, u32 val)
26 (u8)((val >> 24) & 0xff),
27 (u8)((val >> 16) & 0xff),
28 (u8)((val >> 8) & 0xff)
32 return fe->ops.write(fe, buf, 3);
36 #if IS_REACHABLE(CONFIG_DVB_CX24110)
37 extern struct dvb_frontend* cx24110_attach(const struct cx24110_config* config,
38 struct i2c_adapter* i2c);
40 static inline struct dvb_frontend* cx24110_attach(const struct cx24110_config* config,
41 struct i2c_adapter* i2c)
43 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
46 #endif // CONFIG_DVB_CX24110