ARM: mx3/mx31_3ds: fix compiler warning without CONFIG_USB_ULPI
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 10 Feb 2011 09:56:21 +0000 (10:56 +0100)
committerSascha Hauer <s.hauer@pengutronix.de>
Thu, 10 Feb 2011 13:12:16 +0000 (14:12 +0100)
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>
arch/arm/mach-mx3/mach-mx31_3ds.c

index 2f41430..dacafcc 100644 (file)
@@ -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;