Commit a02b0420 authored by Uwe Kleine-König's avatar Uwe Kleine-König

ARM: mx1/scb9328: fix type of uart1_mxc_exit to make compiler happy

This fixes:

	arch/arm/mach-mx1/mach-scb9328.c:120: warning: initialization from incompatible pointer type
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
parent 05a3185c
...@@ -108,11 +108,10 @@ static int uart1_mxc_init(struct platform_device *pdev) ...@@ -108,11 +108,10 @@ static int uart1_mxc_init(struct platform_device *pdev)
ARRAY_SIZE(mxc_uart1_pins), "UART1"); 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, mxc_gpio_release_multiple_pins(mxc_uart1_pins,
ARRAY_SIZE(mxc_uart1_pins)); ARRAY_SIZE(mxc_uart1_pins));
return 0;
} }
static struct imxuart_platform_data uart_pdata = { static struct imxuart_platform_data uart_pdata = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment