[MIPS] RM: It should be #ifdef CONFIG_FOO not #if CONFIG_FOO ...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
36a885306f
commit
07c0d7437c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user