X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-mips%2Ftime.h;h=d3bd5c5aa2ecd0ae1fa34c9083debcac6c4107e0;hb=2f333bcb4edd8daef99dabe4e7df8277af73cff1;hp=7717934f94c35122ba55e9a4830cbc91c1bcf216;hpb=a039767f8d7eeb0731c4053d43c0d8caa27d69d0;p=linux-2.6-omap-h63xx.git diff --git a/include/asm-mips/time.h b/include/asm-mips/time.h index 7717934f94c..d3bd5c5aa2e 100644 --- a/include/asm-mips/time.h +++ b/include/asm-mips/time.h @@ -30,12 +30,6 @@ extern spinlock_t rtc_lock; extern int rtc_mips_set_time(unsigned long); extern int rtc_mips_set_mmss(unsigned long); -/* - * Timer interrupt functions. - * mips_timer_state is needed for high precision timer calibration. - */ -extern int (*mips_timer_state)(void); - /* * board specific routines required by time_init(). */ @@ -43,8 +37,7 @@ extern void plat_time_init(void); /* * mips_hpt_frequency - must be set if you intend to use an R4k-compatible - * counter as a timer interrupt source; otherwise it can be set up - * automagically with an aid of mips_timer_state. + * counter as a timer interrupt source. */ extern unsigned int mips_hpt_frequency; @@ -71,10 +64,11 @@ static inline int mips_clockevent_init(void) * Initialize the count register as a clocksource */ #ifdef CONFIG_CEVT_R4K -extern void init_mips_clocksource(void); +extern int init_mips_clocksource(void); #else -static inline void init_mips_clocksource(void) +static inline int init_mips_clocksource(void) { + return 0; } #endif