diff options
author | Magnus Damm <damm@opensource.se> | 2012-03-06 09:36:45 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2012-03-12 22:19:45 +0100 |
commit | 3be26fdba82a2ae8ed568ab5d4a0a2e252f18b13 (patch) | |
tree | 4f3b6cae63d97938c2e8a6fac351654fc5998d42 /arch/arm/mach-shmobile/board-kota2.c | |
parent | ARM: mach-shmobile: sh7372, AP4EVB and Mackerel timer rework (diff) | |
download | linux-3be26fdba82a2ae8ed568ab5d4a0a2e252f18b13.tar.xz linux-3be26fdba82a2ae8ed568ab5d4a0a2e252f18b13.zip |
ARM: mach-shmobile: sh73a0, AG5EVM and Kota2 timer rework
Move the SoC specific timer code from AG5EVM and Kota2
to sh73a0 setup code. This makes is possible to share
the SoC specific timer code across boards and it also
removes the need for a board specific timer structure.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'arch/arm/mach-shmobile/board-kota2.c')
-rw-r--r-- | arch/arm/mach-shmobile/board-kota2.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/arch/arm/mach-shmobile/board-kota2.c b/arch/arm/mach-shmobile/board-kota2.c index cfc5f413cf0f..61c067294660 100644 --- a/arch/arm/mach-shmobile/board-kota2.c +++ b/arch/arm/mach-shmobile/board-kota2.c @@ -513,17 +513,6 @@ static void __init kota2_init(void) platform_add_devices(kota2_devices, ARRAY_SIZE(kota2_devices)); } -static void __init kota2_timer_init(void) -{ - sh73a0_clock_init(); - shmobile_timer.init(); - return; -} - -struct sys_timer kota2_timer = { - .init = kota2_timer_init, -}; - MACHINE_START(KOTA2, "kota2") .map_io = sh73a0_map_io, .init_early = sh73a0_add_early_devices, @@ -531,5 +520,5 @@ MACHINE_START(KOTA2, "kota2") .init_irq = sh73a0_init_irq, .handle_irq = gic_handle_irq, .init_machine = kota2_init, - .timer = &kota2_timer, + .timer = &shmobile_timer, MACHINE_END |