summaryrefslogtreecommitdiff
path: root/drivers/usb/dwc_otg_310/dwc_otg_driver.c
diff options
context:
space:
mode:
authorlyz <lyz@rock-chips.com>2015-03-12 22:15:33 +0800
committerlyz <lyz@rock-chips.com>2015-03-12 22:15:33 +0800
commit67cdfe036986dd0fef52c56b4bd01595d47bebfa (patch)
tree65f579927606ae80fd556474b57b79e1660f87ad /drivers/usb/dwc_otg_310/dwc_otg_driver.c
parent7f9abe9bcfe9b1a96f1f05b76723ad4c14ea0689 (diff)
usb: fix compliation warning without CONFIG_RK_DEBUG_UART
Diffstat (limited to 'drivers/usb/dwc_otg_310/dwc_otg_driver.c')
-rwxr-xr-xdrivers/usb/dwc_otg_310/dwc_otg_driver.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/dwc_otg_310/dwc_otg_driver.c b/drivers/usb/dwc_otg_310/dwc_otg_driver.c
index 69f212720015..1aea7c3e88e1 100755
--- a/drivers/usb/dwc_otg_310/dwc_otg_driver.c
+++ b/drivers/usb/dwc_otg_310/dwc_otg_driver.c
@@ -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);
-
+#ifdef CONFIG_RK_USB_UART
static u32 usb_to_uart_status;
+#endif
/*-------------------------------------------------------------------------*/
/* Encapsulate the module parameter settings */