summaryrefslogtreecommitdiff
path: root/include/asm-mips/mach-rm
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-03-01 15:29:25 +0000
committerRalf Baechle <ralf@linux-mips.org>2007-03-04 19:02:38 +0000
commit07c0d7437c7061fef61e35183781d126cebf138a (patch)
tree45b9188398a0c19b50416f0afa614755f035dbd2 /include/asm-mips/mach-rm
parent36a885306fdf7bb557c773309c993bfb2d0d693c (diff)
[MIPS] RM: It should be #ifdef CONFIG_FOO not #if CONFIG_FOO ...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/mach-rm')
-rw-r--r--include/asm-mips/mach-rm/mc146818rtc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-mips/mach-rm/mc146818rtc.h b/include/asm-mips/mach-rm/mc146818rtc.h
index 103ae8ef590a..145bce096fe9 100644
--- a/include/asm-mips/mach-rm/mc146818rtc.h
+++ b/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)