diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-mips/time.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/asm-mips/time.h b/include/asm-mips/time.h index ee1663e64d..1922494a0d 100644 --- a/include/asm-mips/time.h +++ b/include/asm-mips/time.h | |||
| @@ -58,11 +58,12 @@ extern int (*perf_irq)(void); | |||
| 58 | * Initialize the calling CPU's compare interrupt as clockevent device | 58 | * Initialize the calling CPU's compare interrupt as clockevent device |
| 59 | */ | 59 | */ |
| 60 | #ifdef CONFIG_CEVT_R4K | 60 | #ifdef CONFIG_CEVT_R4K |
| 61 | extern void mips_clockevent_init(void); | 61 | extern int mips_clockevent_init(void); |
| 62 | extern unsigned int __weak get_c0_compare_int(void); | 62 | extern unsigned int __weak get_c0_compare_int(void); |
| 63 | #else | 63 | #else |
| 64 | static inline void mips_clockevent_init(void) | 64 | static inline int mips_clockevent_init(void) |
| 65 | { | 65 | { |
| 66 | return -ENXIO; | ||
| 66 | } | 67 | } |
| 67 | #endif | 68 | #endif |
| 68 | 69 | ||
