aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/jazz/irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/jazz/irq.c')
-rw-r--r--arch/mips/jazz/irq.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/mips/jazz/irq.c b/arch/mips/jazz/irq.c
index 835b056cea36..ae25b480723e 100644
--- a/arch/mips/jazz/irq.c
+++ b/arch/mips/jazz/irq.c
@@ -4,7 +4,7 @@
4 * for more details. 4 * for more details.
5 * 5 *
6 * Copyright (C) 1992 Linus Torvalds 6 * Copyright (C) 1992 Linus Torvalds
7 * Copyright (C) 1994 - 2001, 2003 Ralf Baechle 7 * Copyright (C) 1994 - 2001, 2003, 07 Ralf Baechle
8 */ 8 */
9#include <linux/clockchips.h> 9#include <linux/clockchips.h>
10#include <linux/init.h> 10#include <linux/init.h>
@@ -13,6 +13,7 @@
13#include <linux/spinlock.h> 13#include <linux/spinlock.h>
14 14
15#include <asm/irq_cpu.h> 15#include <asm/irq_cpu.h>
16#include <asm/i8253.h>
16#include <asm/i8259.h> 17#include <asm/i8259.h>
17#include <asm/io.h> 18#include <asm/io.h>
18#include <asm/jazz.h> 19#include <asm/jazz.h>
@@ -136,7 +137,7 @@ static struct irqaction r4030_timer_irqaction = {
136 .name = "timer", 137 .name = "timer",
137}; 138};
138 139
139void __init plat_timer_setup(struct irqaction *ignored) 140void __init plat_time_init(void)
140{ 141{
141 struct irqaction *irq = &r4030_timer_irqaction; 142 struct irqaction *irq = &r4030_timer_irqaction;
142 143
@@ -152,4 +153,5 @@ void __init plat_timer_setup(struct irqaction *ignored)
152 setup_irq(JAZZ_TIMER_IRQ, irq); 153 setup_irq(JAZZ_TIMER_IRQ, irq);
153 154
154 clockevents_register_device(&r4030_clockevent); 155 clockevents_register_device(&r4030_clockevent);
156 setup_pit_timer();
155} 157}