Sfoglia il codice sorgente

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>
Uwe Kleine-König 14 anni fa
parent
commit
0be9a19646
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      arch/arm/mach-mx3/mach-mx31_3ds.c

+ 1 - 1
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;