MN10300: Use clocksource_register_hz()
clocksource_register_hz() calculates the shift/mult pair for the clocksource. Remove the mn10300 duplicate implementation. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: John Stultz <johnstul@us.ibm.com> Cc: Koichi Yasutake <yasutake.koichi@jp.panasonic.com> Cc: Mark Salter <msalter@redhat.com> Signed-off-by: David Howells <dhowells@redhat.com>
This commit is contained in:

committed by
David Howells

parent
73a173a411
commit
817890ba15
@@ -37,9 +37,6 @@ extern irqreturn_t local_timer_interrupt(void);
|
||||
/*
|
||||
* time.c
|
||||
*/
|
||||
#ifdef CONFIG_CEVT_MN10300
|
||||
extern void clockevent_set_clock(struct clock_event_device *, unsigned int);
|
||||
#endif
|
||||
#ifdef CONFIG_CSRC_MN10300
|
||||
extern void clocksource_set_clock(struct clocksource *, unsigned int);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user