aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/basler/excite/excite_setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/basler/excite/excite_setup.c')
-rw-r--r--arch/mips/basler/excite/excite_setup.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/basler/excite/excite_setup.c b/arch/mips/basler/excite/excite_setup.c
index e1d6ad296c98..a1ce4580058d 100644
--- a/arch/mips/basler/excite/excite_setup.c
+++ b/arch/mips/basler/excite/excite_setup.c
@@ -78,7 +78,7 @@ static void excite_timer_init(void)
78 mips_hpt_frequency = EXCITE_CPU_EXT_CLOCK * mult / div / 2; 78 mips_hpt_frequency = EXCITE_CPU_EXT_CLOCK * mult / div / 2;
79} 79}
80 80
81static void excite_timer_setup(struct irqaction *irq) 81void __init plat_timer_setup(struct irqaction *irq)
82{ 82{
83 /* The eXcite platform uses the alternate timer interrupt */ 83 /* The eXcite platform uses the alternate timer interrupt */
84 set_c0_intcontrol(0x80); 84 set_c0_intcontrol(0x80);
@@ -262,7 +262,6 @@ void __init plat_mem_setup(void)
262 262
263 /* Set up timer initialization hooks */ 263 /* Set up timer initialization hooks */
264 board_time_init = excite_timer_init; 264 board_time_init = excite_timer_init;
265 board_timer_setup = excite_timer_setup;
266 265
267 /* Set up the peripheral address map */ 266 /* Set up the peripheral address map */
268 *(boot_ocd_base + (LKB9 / sizeof (u32))) = 0; 267 *(boot_ocd_base + (LKB9 / sizeof (u32))) = 0;