diff options
Diffstat (limited to 'arch/mips/ddb5xxx/ddb5477/setup.c')
-rw-r--r-- | arch/mips/ddb5xxx/ddb5477/setup.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/mips/ddb5xxx/ddb5477/setup.c b/arch/mips/ddb5xxx/ddb5477/setup.c index 47ba0b6f210f..f0cc0e8a8afa 100644 --- a/arch/mips/ddb5xxx/ddb5477/setup.c +++ b/arch/mips/ddb5xxx/ddb5477/setup.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <linux/sched.h> | 19 | #include <linux/sched.h> |
20 | #include <linux/pci.h> | 20 | #include <linux/pci.h> |
21 | #include <linux/ide.h> | 21 | #include <linux/ide.h> |
22 | #include <linux/irq.h> | ||
22 | #include <linux/fs.h> | 23 | #include <linux/fs.h> |
23 | #include <linux/ioport.h> | 24 | #include <linux/ioport.h> |
24 | #include <linux/param.h> /* for HZ */ | 25 | #include <linux/param.h> /* for HZ */ |
@@ -146,9 +147,7 @@ static void __init ddb_time_init(void) | |||
146 | mips_hpt_frequency = bus_frequency*(i+4)/4; | 147 | mips_hpt_frequency = bus_frequency*(i+4)/4; |
147 | } | 148 | } |
148 | 149 | ||
149 | extern int setup_irq(unsigned int irq, struct irqaction *irqaction); | 150 | void __init plat_timer_setup(struct irqaction *irq) |
150 | |||
151 | static void __init ddb_timer_setup(struct irqaction *irq) | ||
152 | { | 151 | { |
153 | #if defined(USE_CPU_COUNTER_TIMER) | 152 | #if defined(USE_CPU_COUNTER_TIMER) |
154 | 153 | ||
@@ -178,7 +177,6 @@ void __init plat_mem_setup(void) | |||
178 | set_io_port_base(KSEG1ADDR(DDB_PCI_IO_BASE)); | 177 | set_io_port_base(KSEG1ADDR(DDB_PCI_IO_BASE)); |
179 | 178 | ||
180 | board_time_init = ddb_time_init; | 179 | board_time_init = ddb_time_init; |
181 | board_timer_setup = ddb_timer_setup; | ||
182 | 180 | ||
183 | _machine_restart = ddb_machine_restart; | 181 | _machine_restart = ddb_machine_restart; |
184 | _machine_halt = ddb_machine_halt; | 182 | _machine_halt = ddb_machine_halt; |