summaryrefslogtreecommitdiff
path: root/drivers/media/video/zc0301
diff options
context:
space:
mode:
authorJean-François Moine <moinejf@free.fr>2010-03-29 06:51:18 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-18 03:52:49 (GMT)
commitdbad345e6a6159e5d8aec45533d299aa2a138aff (patch)
tree96c6145198343b3ce1ce4fec7376b91ecf314a5b /drivers/media/video/zc0301
parentbe1da9ee83eb5c27a69b30577232d1ec72876e7a (diff)
downloadlinux-fsl-qoriq-dbad345e6a6159e5d8aec45533d299aa2a138aff.tar.xz
V4L/DVB: sn9c102 / zc0301: Handle webcams when no gspca subdriver conflict
Some webcams handled by both sn9c102 or zc0301 and some gspca subdrivers (sonixb, sonixj and zc3xx) were not handled when gspca was generated but not the associated subdrivers. Signed-off-by: Jean-François Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/zc0301')
-rw-r--r--drivers/media/video/zc0301/zc0301_sensor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/zc0301/zc0301_sensor.h b/drivers/media/video/zc0301/zc0301_sensor.h
index 3a408de..0be783c 100644
--- a/drivers/media/video/zc0301/zc0301_sensor.h
+++ b/drivers/media/video/zc0301/zc0301_sensor.h
@@ -58,7 +58,7 @@ zc0301_attach_sensor(struct zc0301_device* cam, struct zc0301_sensor* sensor);
.idProduct = (prod), \
.bInterfaceClass = (intclass)
-#if !defined CONFIG_USB_GSPCA && !defined CONFIG_USB_GSPCA_MODULE
+#if !defined CONFIG_USB_GSPCA_ZC3XX && !defined CONFIG_USB_GSPCA_ZC3XX_MODULE
#define ZC0301_ID_TABLE \
static const struct usb_device_id zc0301_id_table[] = { \
{ ZC0301_USB_DEVICE(0x046d, 0x08ae, 0xff), }, /* PAS202 */ \