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 e46f23f54a50ad2330919b158cb9c6680005816c..df6a430de5eb508dd6a33a457b84f7ec623cbb3a 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;