diff options
author | Peter Chen <peter.chen@freescale.com> | 2013-07-25 14:28:04 +0800 |
---|---|---|
committer | Peter Chen <peter.chen@freescale.com> | 2013-07-25 15:43:15 +0800 |
commit | ac4783bcf78727695f4b7e1bd5a5fbda4f15e1ac (patch) | |
tree | 19ab6ea3830d1b2c2b9dcde2f23980a5589cec79 /arch/arm | |
parent | 781e4301e0c4d7a86a198c867164c13ad727837e (diff) |
ENGR00272597 mx6-msl: usb: fix building warning when only build host driverrel_imx_3.0.35_4.1.0_rc1
CC arch/arm/mach-mx6/usb_h1.o
/home/b29397/work/projects/linux-2.6-imx/arch/arm/mach-mx6/usb_dr.c:
In function '_host_wakeup_enable':
/home/b29397/work/projects/linux-2.6-imx/arch/arm/mach-mx6/usb_dr.c:
522: warning: unused variable 'phy_reg'
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-mx6/usb_dr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mx6/usb_dr.c b/arch/arm/mach-mx6/usb_dr.c index c02158b4a2fc..40bb978ce0a9 100644 --- a/arch/arm/mach-mx6/usb_dr.c +++ b/arch/arm/mach-mx6/usb_dr.c @@ -519,7 +519,7 @@ static void _host_phy_lowpower_suspend(struct fsl_usb2_platform_data *pdata, boo static void _host_wakeup_enable(struct fsl_usb2_platform_data *pdata, bool enable) { - void __iomem *phy_reg = MX6_IO_ADDRESS(USB_PHY0_BASE_ADDR); + void __iomem *phy_reg __maybe_unused = MX6_IO_ADDRESS(USB_PHY0_BASE_ADDR); __wakeup_irq_enable(pdata, enable, ENABLED_BY_HOST); #ifdef CONFIG_USB_OTG if (enable) { |