summaryrefslogtreecommitdiffstats
path: root/arch/mips/lasat
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-07-09 21:38:56 +0100
committerRalf Baechle <ralf@linux-mips.org>2006-07-13 21:26:17 +0100
commit54d0a216f40e060ba4265bb851cc36b3ca55d1a8 (patch)
treea57ecc2da68fea0989c397bd97ebd38e93fee569 /arch/mips/lasat
parent2c70df5b9807293705d8123d1f36579831ac09eb (diff)
downloadblackbird-op-linux-54d0a216f40e060ba4265bb851cc36b3ca55d1a8.tar.gz
blackbird-op-linux-54d0a216f40e060ba4265bb851cc36b3ca55d1a8.zip
[MIPS] Replace board_timer_setup function pointer by plat_timer_setup.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org> ---
Diffstat (limited to 'arch/mips/lasat')
-rw-r--r--arch/mips/lasat/setup.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/mips/lasat/setup.c b/arch/mips/lasat/setup.c
index 2187e63c6d88..0ffc43c600d9 100644
--- a/arch/mips/lasat/setup.c
+++ b/arch/mips/lasat/setup.c
@@ -115,12 +115,9 @@ static void lasat_time_init(void)
mips_hpt_frequency = lasat_board_info.li_cpu_hz / 2;
}
-static void lasat_timer_setup(struct irqaction *irq)
+void __init plat_timer_setup(struct irqaction *irq)
{
-
- write_c0_compare(
- read_c0_count() +
- mips_hpt_frequency / HZ);
+ write_c0_compare( read_c0_count() + mips_hpt_frequency / HZ);
change_c0_status(ST0_IM, IE_IRQ0 | IE_IRQ5);
}
@@ -170,7 +167,6 @@ void __init plat_mem_setup(void)
lasat_reboot_setup();
board_time_init = lasat_time_init;
- board_timer_setup = lasat_timer_setup;
#ifdef CONFIG_DS1603
ds1603 = &ds_defs[mips_machtype];
OpenPOWER on IntegriCloud