Skip to content

Commit

Permalink
ARM: mx1/scb9328: fix type of uart1_mxc_exit to make compiler happy
Browse files Browse the repository at this point in the history
This fixes:

	arch/arm/mach-mx1/mach-scb9328.c:120: warning: initialization from incompatible pointer type

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
  • Loading branch information
Uwe Kleine-König committed Jun 24, 2010
1 parent 05a3185 commit a02b042
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arch/arm/mach-mx1/mach-scb9328.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,10 @@ static int uart1_mxc_init(struct platform_device *pdev)
ARRAY_SIZE(mxc_uart1_pins), "UART1");
}

static int uart1_mxc_exit(struct platform_device *pdev)
static void uart1_mxc_exit(struct platform_device *pdev)
{
mxc_gpio_release_multiple_pins(mxc_uart1_pins,
ARRAY_SIZE(mxc_uart1_pins));
return 0;
}

static struct imxuart_platform_data uart_pdata = {
Expand Down

0 comments on commit a02b042

Please sign in to comment.