summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx3/mach-mx31_3ds.c
diff options
context:
space:
mode:
authorUwe Kleine-König2011-02-10 10:56:21 +0100
committerSascha Hauer2011-02-10 14:12:16 +0100
commit0be9a196468ad4d03a3f5a1823e02aad5be47968 (patch)
tree4d4d558ba3f2d890b949bd700c71404e1d3654af /arch/arm/mach-mx3/mach-mx31_3ds.c
parentARM: imx/eukrea_mbimx27: fix compile warnings about unused variables (diff)
downloadkernel-qcow2-linux-0be9a196468ad4d03a3f5a1823e02aad5be47968.tar.gz
kernel-qcow2-linux-0be9a196468ad4d03a3f5a1823e02aad5be47968.tar.xz
kernel-qcow2-linux-0be9a196468ad4d03a3f5a1823e02aad5be47968.zip
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/mach-mx31_3ds.c')
-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 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;