Commit 1dc87b6e authored by Jean-Francois Moine's avatar Jean-Francois Moine Committed by Mauro Carvalho Chehab

V4L/DVB (9884): gspca - ov534: Fix a warning when compilation without GSPCA_DEBUG.

Signed-off-by: default avatarJean-Francois Moine <moinejf@free.fr>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent e6e48378
......@@ -149,6 +149,7 @@ static void sccb_reg_write(struct usb_device *udev, u16 reg, u8 val)
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_device *udev, u16 reg)
return ov534_reg_read(udev, OV534_REG_READ);
}
#endif
static const __u8 ov534_reg_initdata[][2] = {
{ 0xe7, 0x3a },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment