diff options
| author | John Stultz <johnstul@us.ibm.com> | 2010-04-26 23:23:11 -0400 |
|---|---|---|
| committer | John Stultz <john.stultz@linaro.org> | 2011-02-21 16:33:50 -0500 |
| commit | 75c4fd8c7862f37eeae5c80f33bbe4dce97571d4 (patch) | |
| tree | d222dd777a673962f4e819b7b6e9be10295e8c95 /arch/mips/include | |
| parent | 39280742efb00ab61ad62486c737fdd3e980c30f (diff) | |
mips: convert to clocksource_register_hz/khz
This converts the mips clocksources to use clocksource_register_hz/khz
CC: Ralf Baechle <ralf@linux-mips.org>
CC: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: John Stultz <johnstul@us.ibm.com>
Diffstat (limited to 'arch/mips/include')
| -rw-r--r-- | arch/mips/include/asm/time.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/mips/include/asm/time.h b/arch/mips/include/asm/time.h index c7f1bfef1574..bc14447e69b5 100644 --- a/arch/mips/include/asm/time.h +++ b/arch/mips/include/asm/time.h | |||
| @@ -84,12 +84,6 @@ static inline int init_mips_clocksource(void) | |||
| 84 | #endif | 84 | #endif |
| 85 | } | 85 | } |
| 86 | 86 | ||
| 87 | static inline void clocksource_set_clock(struct clocksource *cs, | ||
| 88 | unsigned int clock) | ||
| 89 | { | ||
| 90 | clocksource_calc_mult_shift(cs, clock, 4); | ||
| 91 | } | ||
| 92 | |||
| 93 | static inline void clockevent_set_clock(struct clock_event_device *cd, | 87 | static inline void clockevent_set_clock(struct clock_event_device *cd, |
| 94 | unsigned int clock) | 88 | unsigned int clock) |
| 95 | { | 89 | { |
