Now usbnet.c uses it and fails on kernel 2.6.30 without this patch.

Signed-off-by: Hauke Mehrtens <[email protected]>
---
 backport/backport-include/linux/usb/ch9.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backport/backport-include/linux/usb/ch9.h 
b/backport/backport-include/linux/usb/ch9.h
index 40d5d3f..222b3f9 100644
--- a/backport/backport-include/linux/usb/ch9.h
+++ b/backport/backport-include/linux/usb/ch9.h
@@ -3,7 +3,7 @@
 
 #include <linux/version.h>
 
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,31)
 #define usb_device_speed old_usb_device_speed
 #define USB_SPEED_UNKNOWN OLD_USB_SPEED_UNKNOWN
 #define USB_SPEED_LOW OLD_USB_SPEED_LOW
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to