USB: fix DWC_OTG driver compile error
authorwlf <wulf@rock-chips.com>
Mon, 3 Mar 2014 09:06:51 +0000 (17:06 +0800)
committerwlf <wulf@rock-chips.com>
Mon, 3 Mar 2014 09:06:51 +0000 (17:06 +0800)
drivers/usb/dwc_otg_310/dwc_otg_hcd_linux.c

index 0de1814237c43e0343f86d84652431cfec225404..ab8abc4b54f09afc80cf52caf548744bf7fc38bd 100755 (executable)
@@ -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);