The patch number 10899 was added via Michael Krufky <[email protected]>
to http://linuxtv.org/hg/v4l-dvb master development tree.
Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel
If anyone has any objections, please let us know by sending a message to:
Linux Media Mailing List <[email protected]>
------
From: Michael Krufky <[email protected]>
remove build-time dependencies on dib7000p
Priority: normal
Signed-off-by: Michael Krufky <[email protected]>
---
linux/drivers/media/dvb/frontends/dib7000p.h | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff -r 7188c9ab48ce -r 4a797e5e8ea5
linux/drivers/media/dvb/frontends/dib7000p.h
--- a/linux/drivers/media/dvb/frontends/dib7000p.h Sun Mar 08 23:03:25
2009 -0400
+++ b/linux/drivers/media/dvb/frontends/dib7000p.h Sun Mar 08 23:04:17
2009 -0400
@@ -49,6 +49,7 @@ extern int dib7000p_i2c_enumeration(stru
struct dib7000p_config cfg[]);
extern int dib7000p_set_gpio(struct dvb_frontend *, u8 num, u8 dir, u8 val);
extern int dib7000p_set_wbd_ref(struct dvb_frontend *, u16 value);
+extern int dib7000pc_detection(struct i2c_adapter *i2c_adap);
#else
static inline struct dvb_frontend *dib7000p_attach(struct i2c_adapter
*i2c_adap,
u8 i2c_addr,
@@ -88,8 +89,12 @@ int dib7000p_set_wbd_ref(struct dvb_fron
printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
return -ENODEV;
}
+
+static inline int dib7000pc_detection(struct i2c_adapter *i2c_adap)
+{
+ printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
+ return -ENODEV;
+}
#endif
-extern int dib7000pc_detection(struct i2c_adapter *i2c_adap);
-
#endif
---
Patch is available at:
http://linuxtv.org/hg/v4l-dvb/rev/4a797e5e8ea511cf864dbe9576d5678aef2face5
_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits