aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/rtc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/rtc.h')
-rw-r--r--include/linux/rtc.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/rtc.h b/include/linux/rtc.h
index ab61cd1199f2..43310760fe73 100644
--- a/include/linux/rtc.h
+++ b/include/linux/rtc.h
@@ -155,6 +155,16 @@ struct rtc_device
155 struct rtc_task *irq_task; 155 struct rtc_task *irq_task;
156 spinlock_t irq_task_lock; 156 spinlock_t irq_task_lock;
157 int irq_freq; 157 int irq_freq;
158#ifdef CONFIG_RTC_INTF_DEV_UIE_EMUL
159 struct work_struct uie_task;
160 struct timer_list uie_timer;
161 /* Those fields are protected by rtc->irq_lock */
162 unsigned int oldsecs;
163 unsigned int irq_active:1;
164 unsigned int stop_uie_polling:1;
165 unsigned int uie_task_active:1;
166 unsigned int uie_timer_active:1;
167#endif
158}; 168};
159#define to_rtc_device(d) container_of(d, struct rtc_device, class_dev) 169#define to_rtc_device(d) container_of(d, struct rtc_device, class_dev)
160 170