sh/kernel/ cleanups
authorAdrian Bunk <bunk@kernel.org>
Wed, 18 Jun 2008 00:36:50 +0000 (03:36 +0300)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 28 Jul 2008 09:10:30 +0000 (18:10 +0900)
commit4c1cfab1e0f9a41246cfdcca78f3700fb67f0a5c
tree502610786625ef7fe15d89e4226cd05b6dcd2d44
parent62410034e79d9249647d1fe6f6f35a06b3747e68
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>
arch/sh/kernel/cf-enabler.c
arch/sh/kernel/cpu/clock.c
arch/sh/kernel/process_32.c
arch/sh/kernel/process_64.c
arch/sh/kernel/time_32.c
arch/sh/kernel/timers/timer-tmu.c
include/asm-sh/clock.h
include/asm-sh/system.h
include/asm-sh/timer.h