summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/mach-dec
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2006-07-10 04:45:30 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-07-10 13:24:25 -0700
commit38e0e8c0550eaed1af48ec5ad9ddb8a25e8b04ae (patch)
treef38daa22e42969c8eabccfd73dc298dcaec99821 /include/asm-mips/mach-dec
parent06c67befeeb16f2995c11b0e04a348103ddbfab1 (diff)
downloadkernel-crypto-38e0e8c0550eaed1af48ec5ad9ddb8a25e8b04ae.tar.gz
kernel-crypto-38e0e8c0550eaed1af48ec5ad9ddb8a25e8b04ae.tar.xz
kernel-crypto-38e0e8c0550eaed1af48ec5ad9ddb8a25e8b04ae.zip
[PATCH] char/rtc: Handle memory-mapped chips properly
Handle memory-mapped chips properly, needed for example on DECstations. This support was in Linux 2.4 but for some reason got lost in 2.6. This patch is taken directly from the linux-mips repository. [akpm@osdl.org: cleanup] Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org> Signed-off-by: Martin Michlmayr <tbm@cyrius.com> Cc: Paul Gortmaker <penguin@muskoka.com> Cc: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-mips/mach-dec')
-rw-r--r--include/asm-mips/mach-dec/mc146818rtc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-mips/mach-dec/mc146818rtc.h b/include/asm-mips/mach-dec/mc146818rtc.h
index 6d37a567580..6724e99e43e 100644
--- a/include/asm-mips/mach-dec/mc146818rtc.h
+++ b/include/asm-mips/mach-dec/mc146818rtc.h
@@ -19,6 +19,8 @@
extern volatile u8 *dec_rtc_base;
+#define ARCH_RTC_LOCATION
+
#define RTC_PORT(x) CPHYSADDR((long)dec_rtc_base)
#define RTC_IO_EXTENT dec_kn_slot_size
#define RTC_IOMAPPED 0