From: Uwe Kleine-König Date: Thu, 10 Feb 2011 09:56:21 +0000 (+0100) Subject: ARM: mx3/mx31_3ds: fix compiler warning without CONFIG_USB_ULPI X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0be9a196468ad4d03a3f5a1823e02aad5be47968;p=linux-beck.git ARM: mx3/mx31_3ds: fix compiler warning without CONFIG_USB_ULPI This fixes: arch/arm/mach-mx3/mach-mx31_3ds.c:249: warning: 'mx31_3ds_host2_init' defined but not used Signed-off-by: Uwe Kleine-König Signed-off-by: Sascha Hauer --- diff --git a/arch/arm/mach-mx3/mach-mx31_3ds.c b/arch/arm/mach-mx3/mach-mx31_3ds.c index 2f4143004801..dacafcc302e4 100644 --- a/arch/arm/mach-mx3/mach-mx31_3ds.c +++ b/arch/arm/mach-mx3/mach-mx31_3ds.c @@ -245,7 +245,7 @@ usbotg_free_reset: return err; } -static int mx31_3ds_host2_init(struct platform_device *pdev) +static int __maybe_unused mx31_3ds_host2_init(struct platform_device *pdev) { int err;