From 9e13d90b170b732e66599cbb64df02ab4ba009f1 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Mon, 19 Aug 2013 01:38:01 +0200 Subject: [PATCH] backports: USB_SPEED_SUPER was added in 2.6.31 Now usbnet.c uses it and fails on kernel 2.6.30 without this patch. Signed-off-by: Hauke Mehrtens Signed-off-by: Luis R. Rodriguez --- 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 40d5d3fa7b79..222b3f9c1dee 100644 --- a/backport/backport-include/linux/usb/ch9.h +++ b/backport/backport-include/linux/usb/ch9.h @@ -3,7 +3,7 @@ #include -#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 -- 2.30.2