summaryrefslogtreecommitdiff
path: root/include/linux/rtc.h
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2010-10-15 03:22:33 +0400
committerJohn Stultz <john.stultz@linaro.org>2010-12-11 09:24:25 +0300
commit042620a018afcfba1d678062b62e463b9e43a68d (patch)
treed4c979cc6444206dd1133414498eca017765b6ab /include/linux/rtc.h
parent6610e0893b8bc6f59b14fed7f089c5997f035f88 (diff)
downloadlinux-042620a018afcfba1d678062b62e463b9e43a68d.tar.xz
RTC: Remove UIE emulation
Since we provide UIE interrupts via a rtc_timer, the old emulation code can be removed. Signed-off-by: John Stultz <john.stultz@linaro.org> LKML Reference: <1290136329-18291-5-git-send-email-john.stultz@linaro.org> Acked-by: Alessandro Zummo <a.zummo@towertech.it> Reviewed-by: Thomas Gleixner <tglx@linutronix.de> CC: Alessandro Zummo <a.zummo@towertech.it> CC: Thomas Gleixner <tglx@linutronix.de> CC: Richard Cochran <richardcochran@gmail.com>
Diffstat (limited to 'include/linux/rtc.h')
-rw-r--r--include/linux/rtc.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/rtc.h b/include/linux/rtc.h
index a3421abca703..44e18a2523a3 100644
--- a/include/linux/rtc.h
+++ b/include/linux/rtc.h
@@ -203,18 +203,6 @@ struct rtc_device
struct hrtimer pie_timer; /* sub second exp, so needs hrtimer */
int pie_enabled;
struct work_struct irqwork;
-
-
-#ifdef CONFIG_RTC_INTF_DEV_UIE_EMUL
- struct work_struct uie_task;
- struct timer_list uie_timer;
- /* Those fields are protected by rtc->irq_lock */
- unsigned int oldsecs;
- unsigned int uie_irq_active:1;
- unsigned int stop_uie_polling:1;
- unsigned int uie_task_active:1;
- unsigned int uie_timer_active:1;
-#endif
};
#define to_rtc_device(d) container_of(d, struct rtc_device, dev)