Commit 01434faf authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

tda18271c2dd: Fix compilation when module is not selected

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent ea4d03d1
...@@ -6,7 +6,7 @@ struct dvb_frontend *tda18271c2dd_attach(struct dvb_frontend *fe, ...@@ -6,7 +6,7 @@ struct dvb_frontend *tda18271c2dd_attach(struct dvb_frontend *fe,
struct i2c_adapter *i2c, u8 adr); struct i2c_adapter *i2c, u8 adr);
#else #else
static inline struct dvb_frontend *tda18271c2dd_attach(struct dvb_frontend *fe, static inline struct dvb_frontend *tda18271c2dd_attach(struct dvb_frontend *fe,
struct i2c_adapter *i2c, u8 adr) { struct i2c_adapter *i2c, u8 adr)
{ {
printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
return NULL; return NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment