[MIPS] RM: It should be #ifdef CONFIG_FOO not #if CONFIG_FOO ...
authorRalf Baechle <ralf@linux-mips.org>
Thu, 1 Mar 2007 15:29:25 +0000 (15:29 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 4 Mar 2007 19:02:38 +0000 (19:02 +0000)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/mach-rm/mc146818rtc.h

index 103ae8e..145bce0 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef __ASM_MACH_RM_MC146818RTC_H
 #define __ASM_MACH_RM_MC146818RTC_H
 
-#if CONFIG_CPU_BIG_ENDIAN
+#ifdef CONFIG_CPU_BIG_ENDIAN
 #define mc146818_decode_year(year) ((year) < 70 ? (year) + 2000 : (year) + 1900)
 #else
 #define mc146818_decode_year(year) ((year) + 1980)