]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MIPS] Atlas: Fix building the RTC driver
authorMaciej W. Rozycki <macro@mips.com>
Tue, 12 Sep 2006 18:02:44 +0000 (19:02 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 27 Sep 2006 12:37:41 +0000 (13:37 +0100)
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>
include/asm-mips/mach-atlas/mc146818rtc.h

index 397522ea55650b0af3f1985105a3efc18296abf1..fc09928571d6637df76d03814ec72b1847edd27a 100644 (file)
@@ -28,6 +28,8 @@
 #include <asm/mips-boards/atlas.h>
 #include <asm/mips-boards/atlasint.h>
 
+#define ARCH_RTC_LOCATION
+
 #define RTC_PORT(x)    (ATLAS_RTC_ADR_REG + (x) * 8)
 #define RTC_IO_EXTENT  0x100
 #define RTC_IOMAPPED   0