[ramips] DWC otg usb: compilation fixes and trivial bugfix in slave mode
[openwrt-github/.git] / target / linux / ramips / files / drivers / usb / dwc_otg / dwc_otg_hcd.h
index f859aece0bb2ac8cda3a7bd714db1aefc59de6f4..ee41dc96f95b2a95bcf97b7ebaa311bece7819c5 100644 (file)
 
 #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;