projects
/
openwrt-github
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[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
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 f859aece0bb2ac8cda3a7bd714db1aefc59de6f4..ee41dc96f95b2a95bcf97b7ebaa311bece7819c5 100644
(file)
--- 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;