aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/media/zc0301.h
diff options
context:
space:
mode:
authorLuca Risolia <luca.risolia@studio.unibo.it>2006-03-03 04:58:39 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2006-03-20 17:50:01 -0500
commit6e0755a4b2a41a8cd5839db69532d07262294b41 (patch)
treee180c082ba1b05f525a90ee6f1ea51543f710a5d /drivers/usb/media/zc0301.h
parent2e56222ed52cec40427fa89f23b228232e3e327e (diff)
[PATCH] USB: ZC0301 driver bugfix
ZC0301 driver bugfix. Use correct PID/VID USB entries. Signed-off-by: Luca Risolia <luca.risolia@studio.unibo.it> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/media/zc0301.h')
-rw-r--r--drivers/usb/media/zc0301.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/usb/media/zc0301.h b/drivers/usb/media/zc0301.h
index 9ba9135e824b..8e0655140e60 100644
--- a/drivers/usb/media/zc0301.h
+++ b/drivers/usb/media/zc0301.h
@@ -134,10 +134,7 @@ struct zc0301_device {
134struct zc0301_device* 134struct zc0301_device*
135zc0301_match_id(struct zc0301_device* cam, const struct usb_device_id *id) 135zc0301_match_id(struct zc0301_device* cam, const struct usb_device_id *id)
136{ 136{
137 if (usb_match_id(usb_ifnum_to_if(cam->usbdev, 0), id)) 137 return usb_match_id(usb_ifnum_to_if(cam->usbdev, 0), id) ? cam : NULL;
138 return cam;
139
140 return NULL;
141} 138}
142 139
143void 140void