fix warning "control reaches end of non-void function"
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 21 Jan 2009 20:25:03 +0000 (21:25 +0100)
committerSascha Hauer <s.hauer@pengutronix.de>
Fri, 13 Mar 2009 09:33:58 +0000 (10:33 +0100)
Add a return 0 analogous to uart_mxc_port[0-2]_exit.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Holger Schurig <hs4233@mail.mn-solutions.de>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Martin Fuzzey <mfuzzey@gmail.com>
arch/arm/mach-mx2/mx27ads.c

index 4548631eb3aed0cae7e7210bd2f9782882b90864..a078aa52a6a6f9a77afe8cb13f88acf885e5f3c9 100644 (file)
@@ -135,6 +135,7 @@ static int uart_mxc_port3_exit(struct platform_device *pdev)
 {
        mxc_gpio_release_multiple_pins(mxc_uart3_pins,
                        ARRAY_SIZE(mxc_uart3_pins));
+       return 0;
 }
 
 static int mxc_uart4_pins[] = {