1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 Conexant 22702 DVB OFDM demodulator driver
6 Alps TDMB7 DVB OFDM demodulator driver
8 Copyright (C) 2001-2002 Convergence Integrated Media GmbH
9 Holger Waechtler <holger@convergence.de>
11 Copyright (C) 2004 Steven Toth <stoth@linuxtv.org>
19 #include <linux/dvb/frontend.h>
21 struct cx22702_config
{
22 /* the demodulator's i2c address */
25 /* serial/parallel output */
26 #define CX22702_PARALLEL_OUTPUT 0
27 #define CX22702_SERIAL_OUTPUT 1
31 #if IS_REACHABLE(CONFIG_DVB_CX22702)
32 extern struct dvb_frontend
*cx22702_attach(
33 const struct cx22702_config
*config
,
34 struct i2c_adapter
*i2c
);
36 static inline struct dvb_frontend
*cx22702_attach(
37 const struct cx22702_config
*config
,
38 struct i2c_adapter
*i2c
)
40 printk(KERN_WARNING
"%s: driver disabled by Kconfig\n", __func__
);