summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/cf-enabler.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-06-18 02:36:50 +0200
committerPaul Mundt <lethal@linux-sh.org>2008-07-28 11:10:30 +0200
commit4c1cfab1e0f9a41246cfdcca78f3700fb67f0a5c (patch)
tree502610786625ef7fe15d89e4226cd05b6dcd2d44 /arch/sh/kernel/cf-enabler.c
parentsh: make pcibios_max_latency static (diff)
downloadlinux-4c1cfab1e0f9a41246cfdcca78f3700fb67f0a5c.tar.xz
linux-4c1cfab1e0f9a41246cfdcca78f3700fb67f0a5c.zip
sh/kernel/ cleanups
This patch contains the following cleanups: - make the following needlessly global code static: - cf-enabler.c: cf_init() - cpu/clock.c: __clk_enable() - cpu/clock.c: __clk_disable() - process_32.c: default_idle() - time_32.c: struct clocksource_sh - timers/timer-tmu.c: struct tmu_timer_ops - remove the following unused functions (no CONFIG_BLK_DEV_FD on sh): - process_{32,64}.c: disable_hlt() - process_{32,64}.c: enable_hlt() Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/cf-enabler.c')
-rw-r--r--arch/sh/kernel/cf-enabler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/cf-enabler.c b/arch/sh/kernel/cf-enabler.c
index 01ff4d05aab0..d3d9f3204230 100644
--- a/arch/sh/kernel/cf-enabler.c
+++ b/arch/sh/kernel/cf-enabler.c
@@ -157,7 +157,7 @@ static int __init cf_init_se(void)
}
#endif
-int __init cf_init(void)
+static int __init cf_init(void)
{
if (mach_is_se() || mach_is_7722se() || mach_is_7721se())
return cf_init_se();