diff options
-rw-r--r-- | drivers/rtc/rtc-sa1100.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/rtc/rtc-sa1100.c b/drivers/rtc/rtc-sa1100.c index 0b40bb88a884..6f22c1fdff66 100644 --- a/drivers/rtc/rtc-sa1100.c +++ b/drivers/rtc/rtc-sa1100.c | |||
@@ -36,7 +36,6 @@ | |||
36 | 36 | ||
37 | #ifdef CONFIG_ARCH_PXA | 37 | #ifdef CONFIG_ARCH_PXA |
38 | #include <mach/regs-rtc.h> | 38 | #include <mach/regs-rtc.h> |
39 | #include <mach/regs-ost.h> | ||
40 | #endif | 39 | #endif |
41 | 40 | ||
42 | #define RTC_DEF_DIVIDER (32768 - 1) | 41 | #define RTC_DEF_DIVIDER (32768 - 1) |
@@ -188,8 +187,6 @@ static void sa1100_rtc_release(struct device *dev) | |||
188 | { | 187 | { |
189 | spin_lock_irq(&sa1100_rtc_lock); | 188 | spin_lock_irq(&sa1100_rtc_lock); |
190 | RTSR = 0; | 189 | RTSR = 0; |
191 | OIER &= ~OIER_E1; | ||
192 | OSSR = OSSR_M1; | ||
193 | spin_unlock_irq(&sa1100_rtc_lock); | 190 | spin_unlock_irq(&sa1100_rtc_lock); |
194 | 191 | ||
195 | free_irq(IRQ_RTCAlrm, dev); | 192 | free_irq(IRQ_RTCAlrm, dev); |