summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/drivers/usb/dwc_otg/dwc_otg_hcd.h
diff options
context:
space:
mode:
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 f859aece0..ee41dc96f 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;