Commit 9d2d9438 authored by Jett.Zhou's avatar Jett.Zhou Committed by Arnd Bergmann

RTC: sa1100: Clean out ost register

These registers are used in old ioctl of UIE and PIE, now they are
emulated by rtc generic code of hrtimer, so it can be removed.
Signed-off-by: default avatarJett.Zhou <jtzhou@marvell.com>
Acked-by: default avatarHaojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent dc47ce90
...@@ -36,7 +36,6 @@ ...@@ -36,7 +36,6 @@
#ifdef CONFIG_ARCH_PXA #ifdef CONFIG_ARCH_PXA
#include <mach/regs-rtc.h> #include <mach/regs-rtc.h>
#include <mach/regs-ost.h>
#endif #endif
#define RTC_DEF_DIVIDER (32768 - 1) #define RTC_DEF_DIVIDER (32768 - 1)
...@@ -188,8 +187,6 @@ static void sa1100_rtc_release(struct device *dev) ...@@ -188,8 +187,6 @@ static void sa1100_rtc_release(struct device *dev)
{ {
spin_lock_irq(&sa1100_rtc_lock); spin_lock_irq(&sa1100_rtc_lock);
RTSR = 0; RTSR = 0;
OIER &= ~OIER_E1;
OSSR = OSSR_M1;
spin_unlock_irq(&sa1100_rtc_lock); spin_unlock_irq(&sa1100_rtc_lock);
free_irq(IRQ_RTCAlrm, dev); free_irq(IRQ_RTCAlrm, dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment