diff options
author | Peter Chen <peter.chen@freescale.com> | 2014-04-01 10:49:03 +0800 |
---|---|---|
committer | Peter Chen <peter.chen@freescale.com> | 2014-04-01 10:56:02 +0800 |
commit | ba0369cf817e872d26bb9c55aaa7dd64c9d0c37c (patch) | |
tree | 91f852d000c85ac901e5d10d1ba0e3e7b5288dd1 /drivers | |
parent | 85f3b137949513121a0170fc0e810922c024618a (diff) |
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 <peter.chen@freescale.com>
Diffstat (limited to 'drivers')
-rwxr-xr-x | drivers/usb/host/ehci-arc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |