aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-mips/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-mips/time.h')
-rw-r--r--include/asm-mips/time.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/asm-mips/time.h b/include/asm-mips/time.h
index 1922494a0d9e..7717934f94c3 100644
--- a/include/asm-mips/time.h
+++ b/include/asm-mips/time.h
@@ -67,6 +67,17 @@ static inline int mips_clockevent_init(void)
67} 67}
68#endif 68#endif
69 69
70/*
71 * Initialize the count register as a clocksource
72 */
73#ifdef CONFIG_CEVT_R4K
74extern void init_mips_clocksource(void);
75#else
76static inline void init_mips_clocksource(void)
77{
78}
79#endif
80
70extern void clocksource_set_clock(struct clocksource *cs, unsigned int clock); 81extern void clocksource_set_clock(struct clocksource *cs, unsigned int clock);
71extern void clockevent_set_clock(struct clock_event_device *cd, 82extern void clockevent_set_clock(struct clock_event_device *cd,
72 unsigned int clock); 83 unsigned int clock);