From: Hauke Mehrtens Date: Sun, 18 Aug 2013 23:38:01 +0000 (+0200) Subject: backports: USB_SPEED_SUPER was added in 2.6.31 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9e13d90b170b732e66599cbb64df02ab4ba009f1;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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