MIPS: Fix build error if CONFIG_CEVT_R4K is undefined.
authorRalf Baechle <ralf@linux-mips.org>
Sun, 5 Apr 2009 22:31:22 +0000 (00:31 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 14 May 2009 12:50:25 +0000 (13:50 +0100)
Introduced by 99aa5029937ee926e3b249369e208d7013cd381b.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/time.h

index e46f23f..df6a430 100644 (file)
@@ -61,7 +61,7 @@ static inline int mips_clockevent_init(void)
        extern int smtc_clockevent_init(void);
 
        return smtc_clockevent_init();
-#elif CONFIG_CEVT_R4K
+#elif defined(CONFIG_CEVT_R4K)
        return r4k_clockevent_init();
 #else
        return -ENXIO;