diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-06-17 20:36:50 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-07-28 05:10:30 -0400 |
commit | 4c1cfab1e0f9a41246cfdcca78f3700fb67f0a5c (patch) | |
tree | 502610786625ef7fe15d89e4226cd05b6dcd2d44 /arch/sh/kernel/time_32.c | |
parent | 62410034e79d9249647d1fe6f6f35a06b3747e68 (diff) |
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/time_32.c')
-rw-r--r-- | arch/sh/kernel/time_32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/time_32.c b/arch/sh/kernel/time_32.c index 7281342c044d..0758b5ee8180 100644 --- a/arch/sh/kernel/time_32.c +++ b/arch/sh/kernel/time_32.c | |||
@@ -211,7 +211,7 @@ unsigned long sh_hpt_frequency = 0; | |||
211 | 211 | ||
212 | #define NSEC_PER_CYC_SHIFT 10 | 212 | #define NSEC_PER_CYC_SHIFT 10 |
213 | 213 | ||
214 | struct clocksource clocksource_sh = { | 214 | static struct clocksource clocksource_sh = { |
215 | .name = "SuperH", | 215 | .name = "SuperH", |
216 | .rating = 200, | 216 | .rating = 200, |
217 | .mask = CLOCKSOURCE_MASK(32), | 217 | .mask = CLOCKSOURCE_MASK(32), |