forked from Minki/linux
44173fda45
This adds a frontend driver for the ST STV6111 DVB-S/S2 tuners. Like the stv0910 demod frontend driver, this driver originates from the Digital Devices' dddvb vendor driver package as of version 0.9.29, and was cleaned up aswell. No functionality had to be removed though. Any camel case has been converted to kernel_case, fixup patch has been proposed upstream. Permission to reuse and mainline the driver code was formally granted by Ralph Metzler <rjkm@metzlerbros.de>. Signed-off-by: Daniel Scheller <d.scheller@gmx.net> Tested-by: Richard Scobie <r.scobie@clear.net.nz> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
21 lines
438 B
C
21 lines
438 B
C
#ifndef _STV6111_H_
|
|
#define _STV6111_H_
|
|
|
|
#if IS_REACHABLE(CONFIG_DVB_STV6111)
|
|
|
|
extern struct dvb_frontend *stv6111_attach(struct dvb_frontend *fe,
|
|
struct i2c_adapter *i2c, u8 adr);
|
|
|
|
#else
|
|
|
|
static inline struct dvb_frontend *stv6111_attach(struct dvb_frontend *fe,
|
|
struct i2c_adapter *i2c, u8 adr)
|
|
{
|
|
pr_warn("%s: Driver disabled by Kconfig\n", __func__);
|
|
return NULL;
|
|
}
|
|
|
|
#endif /* CONFIG_DVB_STV6111 */
|
|
|
|
#endif /* _STV6111_H_ */
|