1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Support for OR51211 (pcHDTV HD-2000) - VSB
11 #include <linux/dvb/frontend.h>
12 #include <linux/firmware.h>
16 /* The demodulator's i2c address */
19 /* Request firmware for device */
20 int (*request_firmware)(struct dvb_frontend* fe, const struct firmware **fw, char* name);
21 void (*setmode)(struct dvb_frontend * fe, int mode);
22 void (*reset)(struct dvb_frontend * fe);
23 void (*sleep)(struct dvb_frontend * fe);
26 #if IS_REACHABLE(CONFIG_DVB_OR51211)
27 extern struct dvb_frontend* or51211_attach(const struct or51211_config* config,
28 struct i2c_adapter* i2c);
30 static inline struct dvb_frontend* or51211_attach(const struct or51211_config* config,
31 struct i2c_adapter* i2c)
33 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
36 #endif // CONFIG_DVB_OR51211