mrst/vrtc: Avoid using cmos rtc ops
authorFeng Tang <feng.tang@intel.com>
Mon, 14 Feb 2011 16:13:32 +0000 (00:13 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 14 Feb 2011 17:20:43 +0000 (18:20 +0100)
commit168202c7bf89d7a2abaf8deaf4bbed18a1f7b3a3
tree7be510d8fcbc1c68582d1b3a64971e8a59e3d798
parent6b617e224dfac0b64ed70dacdac50be6eb78a6a1
mrst/vrtc: Avoid using cmos rtc ops

If we don't assign Moorestown specific wallclock init and ops function
the rtc/persisent clock code will use cmos rtc for access, this will
crash Moorestown in that the ioports are not present.

Also in vrtc driver, should avoid using cmos access to check UIP status.

[feng.tang@intel.com: use set_fixmap_offset_nocache() to simplify code]
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Feng Tang <feng.tang@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/platform/mrst/mrst.c
arch/x86/platform/mrst/vrtc.c
drivers/rtc/rtc-mrst.c