From 33154ffcfa51bdc99511cb637e9978802de1dd1f Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=BB=84=E6=B6=9B?= Date: Mon, 1 Aug 2011 11:26:57 +0800 Subject: [PATCH] dwc_otg_hcd.h: fix for v2.6.36 --- drivers/usb/dwc_otg/dwc_otg_hcd.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/usb/dwc_otg/dwc_otg_hcd.h b/drivers/usb/dwc_otg/dwc_otg_hcd.h index a9253e7dd2da..079a69950878 100755 --- a/drivers/usb/dwc_otg/dwc_otg_hcd.h +++ b/drivers/usb/dwc_otg/dwc_otg_hcd.h @@ -36,7 +36,12 @@ #include #include +#include +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 35)) +#include +#else #include <../drivers/usb/core/hcd.h> +#endif struct dwc_otg_device; -- 2.34.1