4 * PnpNetwork PN1010 QPSK Demodulator
6 * Copyright (C) 2005 Andrew de Quincey <adq_dvb@lidskialf.net>
7 * Copyright (C) 2005-8 Patrick Boettcher <pb@linuxtv.org>
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
27 #include <linux/dvb/frontend.h>
31 /* the demodulator's i2c address */
34 /* does the inversion require inversion? */
37 u8 repeated_start_workaround
:1;
38 u8 cdclk_polarity
:1; /* 1 == falling edge, 0 == raising edge */
43 #if defined(CONFIG_DVB_S5H1420) || (defined(CONFIG_DVB_S5H1420_MODULE) && defined(MODULE))
44 extern struct dvb_frontend
*s5h1420_attach(const struct s5h1420_config
*config
,
45 struct i2c_adapter
*i2c
);
46 extern struct i2c_adapter
*s5h1420_get_tuner_i2c_adapter(struct dvb_frontend
*fe
);
48 static inline struct dvb_frontend
*s5h1420_attach(const struct s5h1420_config
*config
,
49 struct i2c_adapter
*i2c
)
51 printk(KERN_WARNING
"%s: driver disabled by Kconfig\n", __func__
);
55 static inline struct i2c_adapter
*s5h1420_get_tuner_i2c_adapter(struct dvb_frontend
*fe
)
59 #endif // CONFIG_DVB_S5H1420