projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
894ecb4
)
dwc_otg_hcd.h: fix for v2.6.36
author
黄涛
<huangtao@rock-chips.com>
Mon, 1 Aug 2011 03:26:57 +0000
(11:26 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Mon, 1 Aug 2011 03:26:57 +0000
(11:26 +0800)
drivers/usb/dwc_otg/dwc_otg_hcd.h
patch
|
blob
|
history
diff --git
a/drivers/usb/dwc_otg/dwc_otg_hcd.h
b/drivers/usb/dwc_otg/dwc_otg_hcd.h
index a9253e7dd2dab54f6606c8027c1990973730751c..079a69950878194415c4209c361370ca25b39555 100755
(executable)
--- a/
drivers/usb/dwc_otg/dwc_otg_hcd.h
+++ b/
drivers/usb/dwc_otg/dwc_otg_hcd.h
@@
-36,7
+36,12
@@
#include <linux/list.h>
#include <linux/usb.h>
+#include <linux/version.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;