From: Maciej W. Rozycki Date: Tue, 12 Sep 2006 18:02:44 +0000 (+0100) Subject: [MIPS] Atlas: Fix building the RTC driver X-Git-Tag: v2.6.19-rc1~1037 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=3ee24e1b1e0b5ae413a85ba63677a7110915e3af;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: Ralf Baechle --- diff --git a/include/asm-mips/mach-atlas/mc146818rtc.h b/include/asm-mips/mach-atlas/mc146818rtc.h index 397522ea556..fc09928571d 100644 --- a/include/asm-mips/mach-atlas/mc146818rtc.h +++ b/include/asm-mips/mach-atlas/mc146818rtc.h @@ -28,6 +28,8 @@ #include #include +#define ARCH_RTC_LOCATION + #define RTC_PORT(x) (ATLAS_RTC_ADR_REG + (x) * 8) #define RTC_IO_EXTENT 0x100 #define RTC_IOMAPPED 0