[PATCH] char/rtc: Handle memory-mapped chips properly
authorMaciej W. Rozycki <macro@linux-mips.org>
Mon, 10 Jul 2006 11:45:30 +0000 (04:45 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 10 Jul 2006 20:24:25 +0000 (13:24 -0700)
commit38e0e8c0550eaed1af48ec5ad9ddb8a25e8b04ae
treef38daa22e42969c8eabccfd73dc298dcaec99821
parent06c67befeeb16f2995c11b0e04a348103ddbfab1
[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>
drivers/char/rtc.c
include/asm-mips/mach-dec/mc146818rtc.h
include/linux/mc146818rtc.h