Commit 3ffbaadb authored by Andrzej Zaborowski's avatar Andrzej Zaborowski Committed by Tony Lindgren

ARM: OMAP: Fix compiler warning

Fix the following compiler warning (only visible with
CONFIG_OMAP_RESET_CLOCKS):

arch/arm/mach-omap1/clock.c: In function 'omap1_clk_disable_unused':
arch/arm/mach-omap1/clock.c:634: warning: 'return' with a value, in
function returning void
Signed-off-by: default avatarAndrzej Zaborowski <balrog@zabor.org>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent e0f2e3a0
...@@ -494,7 +494,7 @@ static int omap1_clk_enable_generic(struct clk *clk) ...@@ -494,7 +494,7 @@ static int omap1_clk_enable_generic(struct clk *clk)
} }
} }
return 0; return;
} }
static void omap1_clk_disable_generic(struct clk *clk) static void omap1_clk_disable_generic(struct clk *clk)
......
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