From 65f0aeeb42b75ddd329a316725f25f4060b5538c Mon Sep 17 00:00:00 2001 From: wlf Date: Mon, 3 Mar 2014 17:06:51 +0800 Subject: [PATCH] USB: fix DWC_OTG driver compile error --- drivers/usb/dwc_otg_310/dwc_otg_hcd_linux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/dwc_otg_310/dwc_otg_hcd_linux.c b/drivers/usb/dwc_otg_310/dwc_otg_hcd_linux.c index 0de1814237c4..ab8abc4b54f0 100755 --- a/drivers/usb/dwc_otg_310/dwc_otg_hcd_linux.c +++ b/drivers/usb/dwc_otg_310/dwc_otg_hcd_linux.c @@ -483,7 +483,7 @@ int otg20_hcd_init( struct platform_device *_dev ) /* Don't support SG list at this point */ hcd->self.sg_tablesize = 0; #endif -#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,6,0) +#if 0//LINUX_VERSION_CODE >= KERNEL_VERSION(3,6,0) /* Do not to do HNP polling if not capable */ if (otg_dev->core_if->otg_ver) hcd->self.is_hnp_cap = dwc_otg_get_hnpcapable(otg_dev->core_if); @@ -578,7 +578,7 @@ int host20_hcd_init( struct platform_device *_dev ) /* Don't support SG list at this point */ hcd->self.sg_tablesize = 0; #endif -#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,6,0) +#if 0//LINUX_VERSION_CODE >= KERNEL_VERSION(3,6,0) /* Do not to do HNP polling if not capable */ if (otg_dev->core_if->otg_ver) hcd->self.is_hnp_cap = dwc_otg_get_hnpcapable(otg_dev->core_if); -- 2.34.1