diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2011-02-10 10:56:21 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-02-10 14:12:16 +0100 |
commit | 0be9a196468ad4d03a3f5a1823e02aad5be47968 (patch) | |
tree | 4d4d558ba3f2d890b949bd700c71404e1d3654af | |
parent | 9b1e1ea365b31584fef697a49d03536978d57b50 (diff) | |
download | talos-obmc-linux-0be9a196468ad4d03a3f5a1823e02aad5be47968.tar.gz talos-obmc-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>
-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 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; |