From: Michael Krufky Date: Fri, 21 Dec 2007 19:00:45 +0000 (-0300) Subject: V4L/DVB (6892): xc5000: fix build when DVB_TUNER_XC5000 is disabled X-Git-Tag: v2.6.25-rc1~1235^2~139 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fb6d8e2c7fe1667d8ce057e333b18deb91191be5;p=karo-tx-linux.git V4L/DVB (6892): xc5000: fix build when DVB_TUNER_XC5000 is disabled Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb/frontends/xc5000.h b/drivers/media/dvb/frontends/xc5000.h index 9286a03822c1..941b31948133 100644 --- a/drivers/media/dvb/frontends/xc5000.h +++ b/drivers/media/dvb/frontends/xc5000.h @@ -42,7 +42,7 @@ extern struct dvb_frontend* xc5000_attach(struct dvb_frontend *fe, #else static inline struct dvb_frontend* xc5000_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, - struct xc5000_config *cfg); + struct xc5000_config *cfg) { printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __FUNCTION__); return NULL;