summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/drivers/usb/dwc_otg/dwc_otg_hcd.h
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2012-07-24 20:38:55 +0000
committerJohn Crispin <john@openwrt.org>2012-07-24 20:38:55 +0000
commit5e52619b763af5cff25d11865c29f84fdf8c5a25 (patch)
tree3b5513219ac6b1c6d8c5db72fd7cb75cf6d44f1f /target/linux/ramips/files/drivers/usb/dwc_otg/dwc_otg_hcd.h
parentfb81e7a802059362824dad642c99a66bc4011ba3 (diff)
downloadmaster-31e0f0ae-5e52619b763af5cff25d11865c29f84fdf8c5a25.tar.gz
master-31e0f0ae-5e52619b763af5cff25d11865c29f84fdf8c5a25.tar.bz2
master-31e0f0ae-5e52619b763af5cff25d11865c29f84fdf8c5a25.zip
DWC otg usb: compilation fixes and trivial bugfix in slave mode
Signed-of-by: Nikolai Zhubr <n-a-zhubr@yandex.ru> SVN-Revision: 32823
Diffstat (limited to 'target/linux/ramips/files/drivers/usb/dwc_otg/dwc_otg_hcd.h')
-rw-r--r--target/linux/ramips/files/drivers/usb/dwc_otg/dwc_otg_hcd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ramips/files/drivers/usb/dwc_otg/dwc_otg_hcd.h b/target/linux/ramips/files/drivers/usb/dwc_otg/dwc_otg_hcd.h
index f859aece0b..ee41dc96f9 100644
--- a/target/linux/ramips/files/drivers/usb/dwc_otg/dwc_otg_hcd.h
+++ b/target/linux/ramips/files/drivers/usb/dwc_otg/dwc_otg_hcd.h
@@ -36,7 +36,11 @@
#include <linux/list.h>
#include <linux/usb.h>
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35)
#include <linux/usb/hcd.h>
+#else
+#include <../drivers/usb/core/hcd.h>
+#endif
struct dwc_otg_device;