From: Mauro Carvalho Chehab Date: Mon, 11 Jul 2011 18:47:40 +0000 (-0300) Subject: tda18271c2dd: Fix compilation when module is not selected X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=01434faf6d82f791c701d299f898bf261a724342;p=deliverable%2Flinux.git tda18271c2dd: Fix compilation when module is not selected Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb/frontends/tda18271c2dd.h b/drivers/media/dvb/frontends/tda18271c2dd.h index d8af25d8b703..1389c74e12ce 100644 --- a/drivers/media/dvb/frontends/tda18271c2dd.h +++ b/drivers/media/dvb/frontends/tda18271c2dd.h @@ -6,7 +6,7 @@ struct dvb_frontend *tda18271c2dd_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, u8 adr); #else 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__); return NULL;