1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * PnpNetwork PN1010 QPSK Demodulator
7 * Copyright (C) 2005 Andrew de Quincey <adq_dvb@lidskialf.net>
8 * Copyright (C) 2005-8 Patrick Boettcher <pb@linuxtv.org>
13 #include <linux/dvb/frontend.h>
17 /* the demodulator's i2c address */
20 /* does the inversion require inversion? */
23 u8 repeated_start_workaround
:1;
24 u8 cdclk_polarity
:1; /* 1 == falling edge, 0 == raising edge */
29 #if IS_REACHABLE(CONFIG_DVB_S5H1420)
30 extern struct dvb_frontend
*s5h1420_attach(const struct s5h1420_config
*config
,
31 struct i2c_adapter
*i2c
);
32 extern struct i2c_adapter
*s5h1420_get_tuner_i2c_adapter(struct dvb_frontend
*fe
);
34 static inline struct dvb_frontend
*s5h1420_attach(const struct s5h1420_config
*config
,
35 struct i2c_adapter
*i2c
)
37 printk(KERN_WARNING
"%s: driver disabled by Kconfig\n", __func__
);
41 static inline struct i2c_adapter
*s5h1420_get_tuner_i2c_adapter(struct dvb_frontend
*fe
)
45 #endif // CONFIG_DVB_S5H1420