From: Uwe Kleine-König Date: Wed, 21 Jan 2009 20:25:03 +0000 (+0100) Subject: fix warning "control reaches end of non-void function" X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e600eb6b0d41c3e69297137388733bd0a50aa5e9;p=openwrt%2Fstaging%2Fblogic.git fix warning "control reaches end of non-void function" Add a return 0 analogous to uart_mxc_port[0-2]_exit. Signed-off-by: Uwe Kleine-König Signed-off-by: Sascha Hauer Cc: Holger Schurig Cc: Russell King Cc: Sascha Hauer Cc: Martin Fuzzey --- diff --git a/arch/arm/mach-mx2/mx27ads.c b/arch/arm/mach-mx2/mx27ads.c index 4548631eb3ae..a078aa52a6a6 100644 --- a/arch/arm/mach-mx2/mx27ads.c +++ b/arch/arm/mach-mx2/mx27ads.c @@ -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[] = {