From 67cdfe036986dd0fef52c56b4bd01595d47bebfa Mon Sep 17 00:00:00 2001 From: lyz Date: Thu, 12 Mar 2015 22:15:33 +0800 Subject: [PATCH] usb: fix compliation warning without CONFIG_RK_DEBUG_UART --- drivers/usb/dwc_otg_310/dwc_otg_driver.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */ -- 2.34.1