diff options
Diffstat (limited to 'include/linux/rtc.h')
-rw-r--r-- | include/linux/rtc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/rtc.h b/include/linux/rtc.h index b739ac1f7ca0..8454337c7058 100644 --- a/include/linux/rtc.h +++ b/include/linux/rtc.h | |||
@@ -95,6 +95,11 @@ struct rtc_pll_info { | |||
95 | 95 | ||
96 | #include <linux/interrupt.h> | 96 | #include <linux/interrupt.h> |
97 | 97 | ||
98 | extern int rtc_month_days(unsigned int month, unsigned int year); | ||
99 | extern int rtc_valid_tm(struct rtc_time *tm); | ||
100 | extern int rtc_tm_to_time(struct rtc_time *tm, unsigned long *time); | ||
101 | extern void rtc_time_to_tm(unsigned long time, struct rtc_time *tm); | ||
102 | |||
98 | typedef struct rtc_task { | 103 | typedef struct rtc_task { |
99 | void (*func)(void *private_data); | 104 | void (*func)(void *private_data); |
100 | void *private_data; | 105 | void *private_data; |