aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2009-04-05 18:31:22 -0400
committerRalf Baechle <ralf@linux-mips.org>2009-05-14 08:50:25 -0400
commit592e527f5b7c17e9be8fc58a63c3f918827b4b92 (patch)
tree5056e8476532da646ae75d7be4ced11e828ddfe7 /arch/mips
parenta575b8453944c5911a2a6f51d0096fffba82dd48 (diff)
MIPS: Fix build error if CONFIG_CEVT_R4K is undefined.
Introduced by 99aa5029937ee926e3b249369e208d7013cd381b. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/include/asm/time.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/time.h b/arch/mips/include/asm/time.h
index e46f23f54a50..df6a430de5eb 100644
--- a/arch/mips/include/asm/time.h
+++ b/arch/mips/include/asm/time.h
@@ -61,7 +61,7 @@ static inline int mips_clockevent_init(void)
61 extern int smtc_clockevent_init(void); 61 extern int smtc_clockevent_init(void);
62 62
63 return smtc_clockevent_init(); 63 return smtc_clockevent_init();
64#elif CONFIG_CEVT_R4K 64#elif defined(CONFIG_CEVT_R4K)
65 return r4k_clockevent_init(); 65 return r4k_clockevent_init();
66#else 66#else
67 return -ENXIO; 67 return -ENXIO;