diff options
Diffstat (limited to 'arch/mips/momentum/ocelot_c/setup.c')
-rw-r--r-- | arch/mips/momentum/ocelot_c/setup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/momentum/ocelot_c/setup.c b/arch/mips/momentum/ocelot_c/setup.c index 6a4519936ee9..36f570ecc6fb 100644 --- a/arch/mips/momentum/ocelot_c/setup.c +++ b/arch/mips/momentum/ocelot_c/setup.c | |||
@@ -209,7 +209,7 @@ int m48t37y_set_time(unsigned long sec) | |||
209 | return 0; | 209 | return 0; |
210 | } | 210 | } |
211 | 211 | ||
212 | void momenco_timer_setup(struct irqaction *irq) | 212 | void __init plat_timer_setup(struct irqaction *irq) |
213 | { | 213 | { |
214 | setup_irq(7, irq); | 214 | setup_irq(7, irq); |
215 | } | 215 | } |
@@ -224,7 +224,6 @@ void momenco_time_init(void) | |||
224 | #error Unknown CPU for this board | 224 | #error Unknown CPU for this board |
225 | #endif | 225 | #endif |
226 | printk("momenco_time_init cpu_clock=%d\n", cpu_clock); | 226 | printk("momenco_time_init cpu_clock=%d\n", cpu_clock); |
227 | board_timer_setup = momenco_timer_setup; | ||
228 | 227 | ||
229 | rtc_mips_get_time = m48t37y_get_time; | 228 | rtc_mips_get_time = m48t37y_get_time; |
230 | rtc_mips_set_time = m48t37y_set_time; | 229 | rtc_mips_set_time = m48t37y_set_time; |