]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0273a2679225703b8a26d9dd87051fe05e861380
tree502610786625ef7fe15d89e4226cd05b6dcd2d44
parent02f8b541789e2c360410702523643daeea11f1e2
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