diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2011-02-10 09:56:21 (GMT) |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-02-10 13:12:16 (GMT) |
commit | 0be9a196468ad4d03a3f5a1823e02aad5be47968 (patch) | |
tree | 4d4d558ba3f2d890b949bd700c71404e1d3654af /arch | |
parent | 9b1e1ea365b31584fef697a49d03536978d57b50 (diff) | |
download | linux-fsl-qoriq-0be9a196468ad4d03a3f5a1823e02aad5be47968.tar.xz |
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')
-rw-r--r-- | arch/arm/mach-mx3/mach-mx31_3ds.c | 2 |
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 2f41430..dacafcc 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; |