浏览代码

MIPS: Fix build error if CONFIG_CEVT_R4K is undefined.

Introduced by 99aa5029937ee926e3b249369e208d7013cd381b.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle 16 年之前
父节点
当前提交
592e527f5b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/mips/include/asm/time.h

+ 1 - 1
arch/mips/include/asm/time.h

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