From ba0369cf817e872d26bb9c55aaa7dd64c9d0c37c Mon Sep 17 00:00:00 2001 From: Peter Chen Date: Tue, 1 Apr 2014 10:49:03 +0800 Subject: ENGR00306340 usb: ehci-arc: fix build warning drivers/usb/host/ehci-arc.c: In function 'ehci_fsl_drv_resume': drivers/usb/host/ehci-arc.c:805: warning: ISO C90 forbids mixed declarations and code Signed-off-by: Peter Chen --- drivers/usb/host/ehci-arc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers') diff --git a/drivers/usb/host/ehci-arc.c b/drivers/usb/host/ehci-arc.c index 5e5d4e011d73..b1134d3e311b 100755 --- a/drivers/usb/host/ehci-arc.c +++ b/drivers/usb/host/ehci-arc.c @@ -801,8 +801,8 @@ static int ehci_fsl_drv_resume(struct platform_device *pdev) disable_irq(hcd->irq); if (!host_can_wakeup_system(pdev)) { /* Need open clock for register access */ - fsl_usb_clk_gate(hcd->self.controller->platform_data, true); u32 __iomem *reg_ptr; + fsl_usb_clk_gate(hcd->self.controller->platform_data, true); reg_ptr = (u32 __iomem *)(((u8 __iomem *)ehci->regs) + USBMODE); tmp = ehci_readl(ehci, reg_ptr); -- cgit v1.2.3