ARM: mx1/scb9328: fix type of uart1_mxc_exit to make compiler happy
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 5 Mar 2010 10:04:45 +0000 (11:04 +0100)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 24 Jun 2010 13:40:25 +0000 (15:40 +0200)
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>
arch/arm/mach-mx1/mach-scb9328.c

index 7c6bbe83545898459e6f051ee4a9e02961b4a1be..ed2ff162c380c47186a8b6b10ee00ea0611f312b 100644 (file)
@@ -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 = {