From: Michael Krufky Date: Mon, 20 Nov 2006 01:58:19 +0000 (-0300) Subject: V4L/DVB (4850): Lgh06xf: fix compiler error when not selected X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fa4cdd0dc4c066a1a4df19005912bf453dc37b6d;p=linux-beck.git V4L/DVB (4850): Lgh06xf: fix compiler error when not selected fix build error: lgh06xf.h:29: error: syntax error before '{' token Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb/frontends/lgh06xf.h b/drivers/media/dvb/frontends/lgh06xf.h index 41c41fc59be1..510b4bedfb24 100644 --- a/drivers/media/dvb/frontends/lgh06xf.h +++ b/drivers/media/dvb/frontends/lgh06xf.h @@ -25,7 +25,7 @@ extern struct dvb_frontend* lgh06xf_attach(struct dvb_frontend* fe, struct i2c_adapter *i2c); #else static inline struct dvb_frontend* lgh06xf_attach(struct dvb_frontend* fe, - struct i2c_adapter *i2c); + struct i2c_adapter *i2c) { printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __FUNCTION__); return NULL;