summaryrefslogtreecommitdiff
path: root/v4l
diff options
context:
space:
mode:
Diffstat (limited to 'v4l')
-rw-r--r--v4l/compat.h10
-rw-r--r--v4l/versions.txt10
2 files changed, 16 insertions, 4 deletions
diff --git a/v4l/compat.h b/v4l/compat.h
index 92cbd47ec..cd3a7ac86 100644
--- a/v4l/compat.h
+++ b/v4l/compat.h
@@ -494,6 +494,16 @@ do { \
# define BIT_WORD(nr) ((nr) / BITS_PER_LONG)
#endif
+
+#ifndef USB_DEVICE_AND_INTERFACE_INFO
+# define USB_DEVICE_AND_INTERFACE_INFO(vend,prod,cl,sc,pr) \
+ .match_flags = USB_DEVICE_ID_MATCH_INT_INFO \
+ | USB_DEVICE_ID_MATCH_DEVICE, \
+ .idVendor = (vend), .idProduct = (prod), \
+ .bInterfaceClass = (cl), \
+ .bInterfaceSubClass = (sc), .bInterfaceProtocol = (pr)
+#endif
+
#endif
/*
* Local variables:
diff --git a/v4l/versions.txt b/v4l/versions.txt
index b03b4b4aa..958be1de9 100644
--- a/v4l/versions.txt
+++ b/v4l/versions.txt
@@ -3,13 +3,15 @@
# This driver is marked at kernel as broken
VIDEO_PLANB
-[2.6.23]
-#This driver requires USB_DEVICE_AND_INTERFACE_INFO
-CONFIG_USB_STKWEBCAM
-
[2.6.22]
#This driver requires I2C probe/remove fields
VIDEO_TCM825X
+# This driver requires list_first_entry
+CONFIG_USB_STKWEBCAM
+
+[2.6.20]
+#This driver requires HID_REQ_GET_REPORT
+USB_SI470X
[2.6.19]
#This driver were developed at kernel 2.6.19, requiring vmalloc_user/remap_vmalloc_range