summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-mx6/usb_dr.c2
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) {