diff options
Diffstat (limited to 'arch/mips/jmr3927/rbhma3100/setup.c')
-rw-r--r-- | arch/mips/jmr3927/rbhma3100/setup.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/mips/jmr3927/rbhma3100/setup.c b/arch/mips/jmr3927/rbhma3100/setup.c index 6d4635d89d94..025434054ed0 100644 --- a/arch/mips/jmr3927/rbhma3100/setup.c +++ b/arch/mips/jmr3927/rbhma3100/setup.c | |||
@@ -40,6 +40,7 @@ | |||
40 | #include <linux/sched.h> | 40 | #include <linux/sched.h> |
41 | #include <linux/pci.h> | 41 | #include <linux/pci.h> |
42 | #include <linux/ide.h> | 42 | #include <linux/ide.h> |
43 | #include <linux/irq.h> | ||
43 | #include <linux/ioport.h> | 44 | #include <linux/ioport.h> |
44 | #include <linux/param.h> /* for HZ */ | 45 | #include <linux/param.h> /* for HZ */ |
45 | #include <linux/delay.h> | 46 | #include <linux/delay.h> |
@@ -183,9 +184,8 @@ static void __init jmr3927_time_init(void) | |||
183 | } | 184 | } |
184 | 185 | ||
185 | unsigned long jmr3927_do_gettimeoffset(void); | 186 | unsigned long jmr3927_do_gettimeoffset(void); |
186 | extern int setup_irq(unsigned int irq, struct irqaction *irqaction); | ||
187 | 187 | ||
188 | static void __init jmr3927_timer_setup(struct irqaction *irq) | 188 | void __init plat_timer_setup(struct irqaction *irq) |
189 | { | 189 | { |
190 | do_gettimeoffset = jmr3927_do_gettimeoffset; | 190 | do_gettimeoffset = jmr3927_do_gettimeoffset; |
191 | 191 | ||
@@ -244,7 +244,6 @@ void __init plat_mem_setup(void) | |||
244 | set_io_port_base(JMR3927_PORT_BASE + JMR3927_PCIIO); | 244 | set_io_port_base(JMR3927_PORT_BASE + JMR3927_PCIIO); |
245 | 245 | ||
246 | board_time_init = jmr3927_time_init; | 246 | board_time_init = jmr3927_time_init; |
247 | board_timer_setup = jmr3927_timer_setup; | ||
248 | 247 | ||
249 | _machine_restart = jmr3927_machine_restart; | 248 | _machine_restart = jmr3927_machine_restart; |
250 | _machine_halt = jmr3927_machine_halt; | 249 | _machine_halt = jmr3927_machine_halt; |