]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[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 103ae8ef590a10c3db037dcc092383cce8592a42..145bce096fe9b036573bc0d930c8b8323a697a03 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)