The patch number 9884 was added via Jean-Francois Moine <moin...@free.fr>
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:
        v4l-dvb-maintai...@linuxtv.org

------

From: Jean-Francois Moine  <moin...@free.fr>
gspca - ov534: Fix a warning when compilation without GSPCA_DEBUG.


Priority: normal

Signed-off-by: Jean-Francois Moine <moin...@free.fr>


---

 linux/drivers/media/video/gspca/ov534.c |    2 ++
 1 file changed, 2 insertions(+)

diff -r aa1512af5399 -r c067de2a1928 linux/drivers/media/video/gspca/ov534.c
--- a/linux/drivers/media/video/gspca/ov534.c   Sun Dec 14 09:48:07 2008 +0100
+++ b/linux/drivers/media/video/gspca/ov534.c   Sun Dec 14 09:50:24 2008 +0100
@@ -149,6 +149,7 @@ static void sccb_reg_write(struct usb_de
                PDEBUG(D_ERR, "sccb_reg_write failed");
 }
 
+#ifdef GSPCA_DEBUG
 static u8 sccb_reg_read(struct usb_device *udev, u16 reg)
 {
        ov534_reg_write(udev, OV534_REG_SUBADDR, reg);
@@ -162,6 +163,7 @@ static u8 sccb_reg_read(struct usb_devic
 
        return ov534_reg_read(udev, OV534_REG_READ);
 }
+#endif
 
 static const __u8 ov534_reg_initdata[][2] = {
        { 0xe7, 0x3a },


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/c067de2a19282ddb4246f809f96c60434c62ea67

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to