From: wlf Date: Mon, 3 Mar 2014 09:06:51 +0000 (+0800) Subject: USB: fix DWC_OTG driver compile error X-Git-Tag: firefly_0821_release~6233 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=65f0aeeb42b75ddd329a316725f25f4060b5538c;p=firefly-linux-kernel-4.4.55.git USB: fix DWC_OTG driver compile error --- 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);