diff options
Diffstat (limited to 'include/linux/rtc.h')
-rw-r--r-- | include/linux/rtc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/rtc.h b/include/linux/rtc.h index 9531845c419f..580b24c8b8ca 100644 --- a/include/linux/rtc.h +++ b/include/linux/rtc.h | |||
@@ -138,6 +138,7 @@ extern void rtc_device_unregister(struct rtc_device *rtc); | |||
138 | extern int rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm); | 138 | extern int rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm); |
139 | extern int rtc_set_time(struct rtc_device *rtc, struct rtc_time *tm); | 139 | extern int rtc_set_time(struct rtc_device *rtc, struct rtc_time *tm); |
140 | extern int rtc_set_mmss(struct rtc_device *rtc, unsigned long secs); | 140 | extern int rtc_set_mmss(struct rtc_device *rtc, unsigned long secs); |
141 | extern int rtc_set_ntp_time(struct timespec now); | ||
141 | int __rtc_read_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm); | 142 | int __rtc_read_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm); |
142 | extern int rtc_read_alarm(struct rtc_device *rtc, | 143 | extern int rtc_read_alarm(struct rtc_device *rtc, |
143 | struct rtc_wkalrm *alrm); | 144 | struct rtc_wkalrm *alrm); |
@@ -148,7 +149,7 @@ extern int rtc_initialize_alarm(struct rtc_device *rtc, | |||
148 | extern void rtc_update_irq(struct rtc_device *rtc, | 149 | extern void rtc_update_irq(struct rtc_device *rtc, |
149 | unsigned long num, unsigned long events); | 150 | unsigned long num, unsigned long events); |
150 | 151 | ||
151 | extern struct rtc_device *rtc_class_open(char *name); | 152 | extern struct rtc_device *rtc_class_open(const char *name); |
152 | extern void rtc_class_close(struct rtc_device *rtc); | 153 | extern void rtc_class_close(struct rtc_device *rtc); |
153 | 154 | ||
154 | extern int rtc_irq_register(struct rtc_device *rtc, | 155 | extern int rtc_irq_register(struct rtc_device *rtc, |