summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx3
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2011-02-10 10:56:21 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-02-10 14:12:16 +0100
commit0be9a196468ad4d03a3f5a1823e02aad5be47968 (patch)
tree4d4d558ba3f2d890b949bd700c71404e1d3654af /arch/arm/mach-mx3
parent9b1e1ea365b31584fef697a49d03536978d57b50 (diff)
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 <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx3')
-rw-r--r--arch/arm/mach-mx3/mach-mx31_3ds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mx3/mach-mx31_3ds.c b/arch/arm/mach-mx3/mach-mx31_3ds.c
index 2f414300480..dacafcc302e 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;