1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 Driver for Zarlink MT312 Satellite Channel Decoder
5 Copyright (C) 2003 Andreas Oberritter <obi@linuxtv.org>
9 http://products.zarlink.com/product_profiles/MT312.htm
10 http://products.zarlink.com/product_profiles/SL1935.htm
16 #include <linux/dvb/frontend.h>
19 /* the demodulator's i2c address */
22 /* inverted voltage setting */
23 unsigned int voltage_inverted
:1;
26 #if IS_REACHABLE(CONFIG_DVB_MT312)
27 struct dvb_frontend
*mt312_attach(const struct mt312_config
*config
,
28 struct i2c_adapter
*i2c
);
30 static inline struct dvb_frontend
*mt312_attach(
31 const struct mt312_config
*config
, struct i2c_adapter
*i2c
)
33 printk(KERN_WARNING
"%s: driver disabled by Kconfig\n", __func__
);
36 #endif /* CONFIG_DVB_MT312 */