diff options
author | Alessandro Zummo <alessandro.zummo@towertech.it> | 2006-06-25 08:48:20 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 13:01:14 -0400 |
commit | 110d693d5898649da606cd6e5f6af4d7f70a405f (patch) | |
tree | a46b06a383d8a9eda59d7c7e17e8694798769800 /include/linux/rtc.h | |
parent | 56f10c634e145d75e45b56a73f59fb6dff1caa8e (diff) |
[PATCH] rtc subsystem: add capability checks
Centralize CAP_SYS_XXX checks to avoid duplicate code and missing checks in
the drivers.
Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/rtc.h')
-rw-r--r-- | include/linux/rtc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/rtc.h b/include/linux/rtc.h index 43310760fe73..c12cbc1b83c5 100644 --- a/include/linux/rtc.h +++ b/include/linux/rtc.h | |||
@@ -155,6 +155,7 @@ 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 | int max_user_freq; | ||
158 | #ifdef CONFIG_RTC_INTF_DEV_UIE_EMUL | 159 | #ifdef CONFIG_RTC_INTF_DEV_UIE_EMUL |
159 | struct work_struct uie_task; | 160 | struct work_struct uie_task; |
160 | struct timer_list uie_timer; | 161 | struct timer_list uie_timer; |