提交 28fddb7c 编写于 作者: M Manu Abraham 提交者: Mauro Carvalho Chehab

V4L/DVB (13810): [MB86A16] Use DVB_* macros

Signed-off-by: NManu Abraham <manu@linuxtv.org>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 f5ae4f6f
......@@ -31,8 +31,22 @@ struct mb86a16_config {
int (*set_voltage)(struct dvb_frontend *fe, fe_sec_voltage_t voltage);
};
#if defined(CONFIG_DVB_MB86A16) || (defined(CONFIG_DVB_MB86A16_MODULE) && defined(MODULE))
extern struct dvb_frontend *mb86a16_attach(const struct mb86a16_config *config,
struct i2c_adapter *i2c_adap);
#else
static inline struct dvb_frontend *mb86a16_attach(const struct mb86a16_config *config,
struct i2c_adapter *i2c_adap)
{
printk(KERN_WARNING "%s: Driver disabled by Kconfig\n", __func__);
return NULL;
}
#endif /* CONFIG_DVB_MB86A16 */
#endif /* __MB86A16_H */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册