Selaa lähdekoodia

[MIPS] RM: It should be #ifdef CONFIG_FOO not #if CONFIG_FOO ...

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle 18 vuotta sitten
vanhempi
commit
07c0d7437c
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      include/asm-mips/mach-rm/mc146818rtc.h

+ 1 - 1
include/asm-mips/mach-rm/mc146818rtc.h

@@ -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)