From: Oliver Endriss Date: Sun, 3 Jul 2011 21:26:22 +0000 (-0300) Subject: [media] cxd2099: Fix compilation of ngene/ddbridge for DVB_CXD2099=n X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7dfd071271bb237d16d8088287bf52a2684cb3ca;p=linux-beck.git [media] cxd2099: Fix compilation of ngene/ddbridge for DVB_CXD2099=n Fix compilation of ngene/ddbridge for DVB_CXD2099=n. Note: Bug was introduced by commit 'cxd2099: Update to latest version'. Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/staging/cxd2099/cxd2099.h b/drivers/staging/cxd2099/cxd2099.h index 75459d41afc1..19c588a59588 100644 --- a/drivers/staging/cxd2099/cxd2099.h +++ b/drivers/staging/cxd2099/cxd2099.h @@ -41,7 +41,7 @@ struct dvb_ca_en50221 *cxd2099_attach(struct cxd2099_cfg *cfg, #else static inline struct dvb_ca_en50221 *cxd2099_attach(struct cxd2099_cfg *cfg, - void *priv, struct i2c_adapter *i2c); + void *priv, struct i2c_adapter *i2c) { printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); return NULL;