Skip to content

Commit

Permalink
ARM: mx3/mx31_3ds: fix compiler warning without CONFIG_USB_ULPI
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Uwe Kleine-König authored and Sascha Hauer committed Feb 10, 2011
1 parent 9b1e1ea commit 0be9a19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-mx3/mach-mx31_3ds.c
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ static int mx31_3ds_usbotg_init(void)
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;

Expand Down

0 comments on commit 0be9a19

Please sign in to comment.