diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-11-18 14:21:34 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-12-22 18:42:53 +0900 |
commit | 00e825c6b99b39f12751ea45d38bb4d900de70f4 (patch) | |
tree | 4b43f04fe9f7190ead964bb109931ebcd8d6600f /arch | |
parent | d6435102d4ca3b5655c0105abe924abec17ffeb8 (diff) | |
download | op-kernel-dev-00e825c6b99b39f12751ea45d38bb4d900de70f4.zip op-kernel-dev-00e825c6b99b39f12751ea45d38bb4d900de70f4.tar.gz |
sh: Fix clock framework compiler warnings.
CC arch/sh/kernel/cpu/clock.o
arch/sh/kernel/cpu/clock.c: In function 'clk_disable':
arch/sh/kernel/cpu/clock.c:156: warning: 'return' with a value, in function returning void
Introduced by ("sh: enable and disable clocks recursively").
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sh/kernel/cpu/clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/cpu/clock.c b/arch/sh/kernel/cpu/clock.c index 717056b..7b17137 100644 --- a/arch/sh/kernel/cpu/clock.c +++ b/arch/sh/kernel/cpu/clock.c @@ -153,7 +153,7 @@ void clk_disable(struct clk *clk) unsigned long flags; if (!clk) - return -EINVAL; + return; spin_lock_irqsave(&clock_lock, flags); __clk_disable(clk); |