Skip to content

Commit

Permalink
[MIPS] RM: It should be #ifdef CONFIG_FOO not #if CONFIG_FOO ...
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Mar 4, 2007
1 parent 36a8853 commit 07c0d74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-mips/mach-rm/mc146818rtc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 07c0d74

Please sign in to comment.