X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=include%2Flinux%2Fmc146818rtc.h;h=a585b4b5fa0ef70e21cac6b02b0c4150ed3cc68b;hb=fed41f7d039bad02f94cad9059e4b14cd81d13f2;hp=433e0c74d643fecb192e777aaeee485c65a1da0d;hpb=eca9fdf32dd48976eab18d310acb0b8d4cc9bf26;p=cascardo%2Flinux.git diff --git a/include/linux/mc146818rtc.h b/include/linux/mc146818rtc.h index 433e0c74d643..a585b4b5fa0e 100644 --- a/include/linux/mc146818rtc.h +++ b/include/linux/mc146818rtc.h @@ -14,6 +14,8 @@ #include #include /* get the user-level API */ #include /* register access macros */ +#include +#include #ifdef __KERNEL__ #include /* spinlock_t */ @@ -120,4 +122,7 @@ struct cmos_rtc_board_info { #define RTC_IO_EXTENT_USED RTC_IO_EXTENT #endif /* ARCH_RTC_LOCATION */ +unsigned int mc146818_get_time(struct rtc_time *time); +int mc146818_set_time(struct rtc_time *time); + #endif /* _MC146818RTC_H */