diff options
Diffstat (limited to 'arch/mips/gt64120/wrppmc/time.c')
-rw-r--r-- | arch/mips/gt64120/wrppmc/time.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/arch/mips/gt64120/wrppmc/time.c b/arch/mips/gt64120/wrppmc/time.c index 5b440859bcee..b207e7f1417a 100644 --- a/arch/mips/gt64120/wrppmc/time.c +++ b/arch/mips/gt64120/wrppmc/time.c | |||
@@ -11,18 +11,11 @@ | |||
11 | * Copyright (C) 2006, Wind River System Inc. | 11 | * Copyright (C) 2006, Wind River System Inc. |
12 | */ | 12 | */ |
13 | #include <linux/init.h> | 13 | #include <linux/init.h> |
14 | #include <linux/string.h> | ||
15 | #include <linux/kernel.h> | ||
16 | #include <linux/param.h> /* for HZ */ | ||
17 | #include <linux/irq.h> | ||
18 | #include <linux/timex.h> | ||
19 | #include <linux/interrupt.h> | 14 | #include <linux/interrupt.h> |
15 | #include <linux/irq.h> | ||
20 | 16 | ||
21 | #include <asm/reboot.h> | ||
22 | #include <asm/time.h> | ||
23 | #include <asm/io.h> | ||
24 | #include <asm/bootinfo.h> | ||
25 | #include <asm/gt64120.h> | 17 | #include <asm/gt64120.h> |
18 | #include <asm/time.h> | ||
26 | 19 | ||
27 | #define WRPPMC_CPU_CLK_FREQ 40000000 /* 40MHZ */ | 20 | #define WRPPMC_CPU_CLK_FREQ 40000000 /* 40MHZ */ |
28 | 21 | ||
@@ -38,7 +31,7 @@ void __init plat_timer_setup(struct irqaction *irq) | |||
38 | * NOTE: We disable all GT64120 timers, and use MIPS processor internal | 31 | * NOTE: We disable all GT64120 timers, and use MIPS processor internal |
39 | * timer as the source of kernel clock tick. | 32 | * timer as the source of kernel clock tick. |
40 | */ | 33 | */ |
41 | void __init wrppmc_time_init(void) | 34 | void __init plat_time_init(void) |
42 | { | 35 | { |
43 | /* Disable GT64120 timers */ | 36 | /* Disable GT64120 timers */ |
44 | GT_WRITE(GT_TC_CONTROL_OFS, 0x00); | 37 | GT_WRITE(GT_TC_CONTROL_OFS, 0x00); |