summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/mach-rm
diff options
context:
space:
mode:
authorRalf Baechle2007-03-01 16:29:25 +0100
committerRalf Baechle2007-03-04 20:02:38 +0100
commit07c0d7437c7061fef61e35183781d126cebf138a (patch)
tree45b9188398a0c19b50416f0afa614755f035dbd2 /include/asm-mips/mach-rm
parent[MIPS] Fix and cleanup the mess that a dozen prom_printf variants are. (diff)
downloadkernel-qcow2-linux-07c0d7437c7061fef61e35183781d126cebf138a.tar.gz
kernel-qcow2-linux-07c0d7437c7061fef61e35183781d126cebf138a.tar.xz
kernel-qcow2-linux-07c0d7437c7061fef61e35183781d126cebf138a.zip
[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)