diff options
Diffstat (limited to 'arch/mips/dec')
-rw-r--r-- | arch/mips/dec/ioasic-irq.c | 4 | ||||
-rw-r--r-- | arch/mips/dec/kn02-irq.c | 2 | ||||
-rw-r--r-- | arch/mips/dec/setup.c | 2 | ||||
-rw-r--r-- | arch/mips/dec/time.c | 2 |
4 files changed, 4 insertions, 6 deletions
diff --git a/arch/mips/dec/ioasic-irq.c b/arch/mips/dec/ioasic-irq.c index da2dbb42f913..41cd2a96148b 100644 --- a/arch/mips/dec/ioasic-irq.c +++ b/arch/mips/dec/ioasic-irq.c | |||
@@ -93,7 +93,7 @@ static inline void end_ioasic_irq(unsigned int irq) | |||
93 | enable_ioasic_irq(irq); | 93 | enable_ioasic_irq(irq); |
94 | } | 94 | } |
95 | 95 | ||
96 | static struct hw_interrupt_type ioasic_irq_type = { | 96 | static struct irq_chip ioasic_irq_type = { |
97 | .typename = "IO-ASIC", | 97 | .typename = "IO-ASIC", |
98 | .startup = startup_ioasic_irq, | 98 | .startup = startup_ioasic_irq, |
99 | .shutdown = shutdown_ioasic_irq, | 99 | .shutdown = shutdown_ioasic_irq, |
@@ -121,7 +121,7 @@ static inline void end_ioasic_dma_irq(unsigned int irq) | |||
121 | end_ioasic_irq(irq); | 121 | end_ioasic_irq(irq); |
122 | } | 122 | } |
123 | 123 | ||
124 | static struct hw_interrupt_type ioasic_dma_irq_type = { | 124 | static struct irq_chip ioasic_dma_irq_type = { |
125 | .typename = "IO-ASIC-DMA", | 125 | .typename = "IO-ASIC-DMA", |
126 | .startup = startup_ioasic_dma_irq, | 126 | .startup = startup_ioasic_dma_irq, |
127 | .shutdown = shutdown_ioasic_dma_irq, | 127 | .shutdown = shutdown_ioasic_dma_irq, |
diff --git a/arch/mips/dec/kn02-irq.c b/arch/mips/dec/kn02-irq.c index d44c00d9e80f..04a367a60a57 100644 --- a/arch/mips/dec/kn02-irq.c +++ b/arch/mips/dec/kn02-irq.c | |||
@@ -94,7 +94,7 @@ static void end_kn02_irq(unsigned int irq) | |||
94 | enable_kn02_irq(irq); | 94 | enable_kn02_irq(irq); |
95 | } | 95 | } |
96 | 96 | ||
97 | static struct hw_interrupt_type kn02_irq_type = { | 97 | static struct irq_chip kn02_irq_type = { |
98 | .typename = "KN02-CSR", | 98 | .typename = "KN02-CSR", |
99 | .startup = startup_kn02_irq, | 99 | .startup = startup_kn02_irq, |
100 | .shutdown = shutdown_kn02_irq, | 100 | .shutdown = shutdown_kn02_irq, |
diff --git a/arch/mips/dec/setup.c b/arch/mips/dec/setup.c index 2684f121784b..d43241c2f541 100644 --- a/arch/mips/dec/setup.c +++ b/arch/mips/dec/setup.c | |||
@@ -145,13 +145,11 @@ static void __init dec_be_init(void) | |||
145 | 145 | ||
146 | 146 | ||
147 | extern void dec_time_init(void); | 147 | extern void dec_time_init(void); |
148 | extern void dec_timer_setup(struct irqaction *); | ||
149 | 148 | ||
150 | void __init plat_mem_setup(void) | 149 | void __init plat_mem_setup(void) |
151 | { | 150 | { |
152 | board_be_init = dec_be_init; | 151 | board_be_init = dec_be_init; |
153 | board_time_init = dec_time_init; | 152 | board_time_init = dec_time_init; |
154 | board_timer_setup = dec_timer_setup; | ||
155 | 153 | ||
156 | wbflush_setup(); | 154 | wbflush_setup(); |
157 | 155 | ||
diff --git a/arch/mips/dec/time.c b/arch/mips/dec/time.c index 76e4d09ff4d2..57294740c2dd 100644 --- a/arch/mips/dec/time.c +++ b/arch/mips/dec/time.c | |||
@@ -186,7 +186,7 @@ void __init dec_time_init(void) | |||
186 | 186 | ||
187 | EXPORT_SYMBOL(do_settimeofday); | 187 | EXPORT_SYMBOL(do_settimeofday); |
188 | 188 | ||
189 | void __init dec_timer_setup(struct irqaction *irq) | 189 | void __init plat_timer_setup(struct irqaction *irq) |
190 | { | 190 | { |
191 | setup_irq(dec_interrupt[DEC_IRQ_RTC], irq); | 191 | setup_irq(dec_interrupt[DEC_IRQ_RTC], irq); |
192 | 192 | ||