From: Dirk Behme Date: Thu, 7 Dec 2006 01:13:51 +0000 (-0800) Subject: ARM: OMAP: Fix warning in clock.c X-Git-Tag: v2.6.21-omap1~45^2~97 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ba77ff23ca0aa4f621519eb4f9e78082e6bea888;p=linux-2.6-omap-h63xx.git ARM: OMAP: Fix warning in clock.c Fix warning: arch/arm/mach-omap1/clock.c: In function 'omap1_clk_enable_generic': arch/arm/mach-omap1/clock.c:499: warning: 'return' with no value, in function returning non-void Signed-off-by: Dirk Behme Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap1/clock.c b/arch/arm/mach-omap1/clock.c index 6d4860c8da5..f625f6dd228 100644 --- a/arch/arm/mach-omap1/clock.c +++ b/arch/arm/mach-omap1/clock.c @@ -494,7 +494,7 @@ static int omap1_clk_enable_generic(struct clk *clk) } } - return; + return 0; } static void omap1_clk_disable_generic(struct clk *clk)