projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36a8853
)
[MIPS] RM: It should be #ifdef CONFIG_FOO not #if CONFIG_FOO ...
author
Ralf Baechle
<ralf@linux-mips.org>
Thu, 1 Mar 2007 15:29:25 +0000
(15:29 +0000)
committer
Ralf 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
patch
|
blob
|
history
diff --git
a/include/asm-mips/mach-rm/mc146818rtc.h
b/include/asm-mips/mach-rm/mc146818rtc.h
index
103ae8e
..
145bce0
100644
(file)
--- 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
+#if
def
CONFIG_CPU_BIG_ENDIAN
#define mc146818_decode_year(year) ((year) < 70 ? (year) + 2000 : (year) + 1900)
#else
#define mc146818_decode_year(year) ((year) + 1980)