From: Ralf Baechle Date: Sun, 5 Apr 2009 22:31:22 +0000 (+0200) Subject: MIPS: Fix build error if CONFIG_CEVT_R4K is undefined. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=592e527f5b7c17e9be8fc58a63c3f918827b4b92;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git MIPS: Fix build error if CONFIG_CEVT_R4K is undefined. Introduced by 99aa5029937ee926e3b249369e208d7013cd381b. Signed-off-by: Ralf Baechle --- 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) 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;