diff options
Diffstat (limited to 'arch/mips/gt64120/common/time.c')
| -rw-r--r-- | arch/mips/gt64120/common/time.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/gt64120/common/time.c b/arch/mips/gt64120/common/time.c index c83ae6acd601..c47eeb768192 100644 --- a/arch/mips/gt64120/common/time.c +++ b/arch/mips/gt64120/common/time.c | |||
| @@ -64,14 +64,14 @@ static irqreturn_t gt64120_irq(int irq, void *dev_id) | |||
| 64 | * as *irq (=irq0 in ../kernel/time.c). We will do our own timer interrupt | 64 | * as *irq (=irq0 in ../kernel/time.c). We will do our own timer interrupt |
| 65 | * handling. | 65 | * handling. |
| 66 | */ | 66 | */ |
| 67 | void gt64120_time_init(void) | 67 | void __init plat_timer_setup(struct irqaction *irq) |
| 68 | { | 68 | { |
| 69 | static struct irqaction timer; | 69 | static struct irqaction timer; |
| 70 | 70 | ||
| 71 | /* Disable timer first */ | 71 | /* Disable timer first */ |
| 72 | GT_WRITE(GT_TC_CONTROL_OFS, 0); | 72 | GT_WRITE(GT_TC_CONTROL_OFS, 0); |
| 73 | /* Load timer value for 100 Hz */ | 73 | /* Load timer value for 100 Hz */ |
| 74 | GT_WRITE(GT_TC3_OFS, Sys_clock / 100); | 74 | GT_WRITE(GT_TC3_OFS, Sys_clock / HZ); |
| 75 | 75 | ||
| 76 | /* | 76 | /* |
| 77 | * Create the IRQ structure entry for the timer. Since we're too early | 77 | * Create the IRQ structure entry for the timer. Since we're too early |
