From: 黄涛 Date: Mon, 1 Aug 2011 03:26:57 +0000 (+0800) Subject: dwc_otg_hcd.h: fix for v2.6.36 X-Git-Tag: firefly_0821_release~9793 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=33154ffcfa51bdc99511cb637e9978802de1dd1f;p=firefly-linux-kernel-4.4.55.git dwc_otg_hcd.h: fix for v2.6.36 --- 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;