usb: fix compliation warning without CONFIG_RK_DEBUG_UART
authorlyz <lyz@rock-chips.com>
Thu, 12 Mar 2015 14:15:33 +0000 (22:15 +0800)
committerlyz <lyz@rock-chips.com>
Thu, 12 Mar 2015 14:15:33 +0000 (22:15 +0800)
drivers/usb/dwc_otg_310/dwc_otg_driver.c

index 69f212720015f23a2a328909fb0e0346b4490dc1..1aea7c3e88e1407274defdbe090d4e7fdfa4baf2 100755 (executable)
@@ -77,8 +77,9 @@ extern void hcd_remove(struct platform_device *_dev);
 extern void dwc_otg_adp_start(dwc_otg_core_if_t *core_if, uint8_t is_host);
 
 
 extern void dwc_otg_adp_start(dwc_otg_core_if_t *core_if, uint8_t is_host);
 
 
-
+#ifdef CONFIG_RK_USB_UART
 static u32 usb_to_uart_status;
 static u32 usb_to_uart_status;
+#endif
 /*-------------------------------------------------------------------------*/
 /* Encapsulate the module parameter settings */
 
 /*-------------------------------------------------------------------------*/
 /* Encapsulate the module parameter settings */