diff options
Diffstat (limited to 'arch/mips/sni/time.c')
-rw-r--r-- | arch/mips/sni/time.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/mips/sni/time.c b/arch/mips/sni/time.c index 20028fc7757e..92452d677d8f 100644 --- a/arch/mips/sni/time.c +++ b/arch/mips/sni/time.c | |||
@@ -4,6 +4,7 @@ | |||
4 | 4 | ||
5 | #include <asm/sni.h> | 5 | #include <asm/sni.h> |
6 | #include <asm/time.h> | 6 | #include <asm/time.h> |
7 | #include <asm-generic/rtc.h> | ||
7 | 8 | ||
8 | #define SNI_CLOCK_TICK_RATE 3686400 | 9 | #define SNI_CLOCK_TICK_RATE 3686400 |
9 | #define SNI_COUNTER2_DIV 64 | 10 | #define SNI_COUNTER2_DIV 64 |
@@ -71,7 +72,7 @@ static __init unsigned long dosample(void) | |||
71 | /* | 72 | /* |
72 | * Here we need to calibrate the cycle counter to at least be close. | 73 | * Here we need to calibrate the cycle counter to at least be close. |
73 | */ | 74 | */ |
74 | __init void sni_cpu_time_init(void) | 75 | void __init plat_time_init(void) |
75 | { | 76 | { |
76 | unsigned long r4k_ticks[3]; | 77 | unsigned long r4k_ticks[3]; |
77 | unsigned long r4k_tick; | 78 | unsigned long r4k_tick; |
@@ -146,3 +147,8 @@ void __init plat_timer_setup(struct irqaction *irq) | |||
146 | break; | 147 | break; |
147 | } | 148 | } |
148 | } | 149 | } |
150 | |||
151 | unsigned long read_persistent_clock(void) | ||
152 | { | ||
153 | return -1; | ||
154 | } | ||