aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-mips/mach-atlas/mc146818rtc.h
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@mips.com>2006-09-12 14:02:44 -0400
committerRalf Baechle <ralf@linux-mips.org>2006-09-27 08:37:41 -0400
commit3ee24e1b1e0b5ae413a85ba63677a7110915e3af (patch)
treebb34accf49edf5ad6e29daab026d4dfdaf54c030 /include/asm-mips/mach-atlas/mc146818rtc.h
parent846acaa2b4974ae2e28038d024dedcfc184efbb7 (diff)
[MIPS] Atlas: Fix building the RTC driver
Atlas maps its RTC chip in the host mmio space rather than using the "traditional" location in the PCI/ISA port space. A change that has happened to the generic RTC header requires to define ARCH_RTC_LOCATION now. Signed-off-by: Maciej W. Rozycki <macro@mips.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/mach-atlas/mc146818rtc.h')
-rw-r--r--include/asm-mips/mach-atlas/mc146818rtc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-mips/mach-atlas/mc146818rtc.h b/include/asm-mips/mach-atlas/mc146818rtc.h
index 397522ea5565..fc09928571d6 100644
--- a/include/asm-mips/mach-atlas/mc146818rtc.h
+++ b/include/asm-mips/mach-atlas/mc146818rtc.h
@@ -28,6 +28,8 @@
28#include <asm/mips-boards/atlas.h> 28#include <asm/mips-boards/atlas.h>
29#include <asm/mips-boards/atlasint.h> 29#include <asm/mips-boards/atlasint.h>
30 30
31#define ARCH_RTC_LOCATION
32
31#define RTC_PORT(x) (ATLAS_RTC_ADR_REG + (x) * 8) 33#define RTC_PORT(x) (ATLAS_RTC_ADR_REG + (x) * 8)
32#define RTC_IO_EXTENT 0x100 34#define RTC_IO_EXTENT 0x100
33#define RTC_IOMAPPED 0 35#define RTC_IOMAPPED 0