diff options
Diffstat (limited to 'arch/mips/vr41xx/common/init.c')
-rw-r--r-- | arch/mips/vr41xx/common/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/vr41xx/common/init.c b/arch/mips/vr41xx/common/init.c index 915bfa5c0719..a2e285c1d4d5 100644 --- a/arch/mips/vr41xx/common/init.c +++ b/arch/mips/vr41xx/common/init.c | |||
@@ -24,6 +24,7 @@ | |||
24 | 24 | ||
25 | #include <asm/bootinfo.h> | 25 | #include <asm/bootinfo.h> |
26 | #include <asm/time.h> | 26 | #include <asm/time.h> |
27 | #include <asm/vr41xx/irq.h> | ||
27 | #include <asm/vr41xx/vr41xx.h> | 28 | #include <asm/vr41xx/vr41xx.h> |
28 | 29 | ||
29 | #define IO_MEM_RESOURCE_START 0UL | 30 | #define IO_MEM_RESOURCE_START 0UL |
@@ -47,7 +48,7 @@ static void __init setup_timer_frequency(void) | |||
47 | mips_hpt_frequency = tclock / 4; | 48 | mips_hpt_frequency = tclock / 4; |
48 | } | 49 | } |
49 | 50 | ||
50 | static void __init setup_timer_irq(struct irqaction *irq) | 51 | void __init plat_timer_setup(struct irqaction *irq) |
51 | { | 52 | { |
52 | setup_irq(TIMER_IRQ, irq); | 53 | setup_irq(TIMER_IRQ, irq); |
53 | } | 54 | } |
@@ -55,7 +56,6 @@ static void __init setup_timer_irq(struct irqaction *irq) | |||
55 | static void __init timer_init(void) | 56 | static void __init timer_init(void) |
56 | { | 57 | { |
57 | board_time_init = setup_timer_frequency; | 58 | board_time_init = setup_timer_frequency; |
58 | board_timer_setup = setup_timer_irq; | ||
59 | } | 59 | } |
60 | 60 | ||
61 | void __init plat_mem_setup(void) | 61 | void __init plat_mem_setup(void) |