[4/5] cxd2099: Fix compilation of ngene/ddbridge for DVB_CXD2099=n

Message ID 201107032326.23996@orion.escape-edv.de (mailing list archive)
State Superseded, archived
Headers

Commit Message

Oliver Endriss July 3, 2011, 9:26 p.m. UTC
  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 <o.endriss@gmx.de>
---
 drivers/staging/cxd2099/cxd2099.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
  

Comments

Bjørn Mork July 4, 2011, 10:14 a.m. UTC | #1
Oliver Endriss <o.endriss@gmx.de> writes:

> Fix compilation of ngene/ddbridge for DVB_CXD2099=n.
>
> Note: Bug was introduced by commit 'cxd2099: Update to latest version'.

Shouldn't that patch instead be fixed and resubmitted?


Bjørn

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
  

Patch

diff --git a/drivers/staging/cxd2099/cxd2099.h b/drivers/staging/cxd2099/cxd2099.h
index 75459d4..19c588a 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;