9
0
Fork 0

rtc.h: drop unused U-Boot stuff; fix whitespace

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Antony Pavlov 2014-07-03 13:19:38 +04:00 committed by Sascha Hauer
parent 8f184314dd
commit 3b02705ad2
1 changed files with 1 additions and 5 deletions

View File

@ -31,7 +31,7 @@
* Note that there are small but significant differences to the * Note that there are small but significant differences to the
* common "struct time": * common "struct time":
* *
* struct time: struct rtc_time: * struct time: struct rtc_time:
* tm_mon 0 ... 11 1 ... 12 * tm_mon 0 ... 11 1 ... 12
* tm_year years since 1900 years since 0 * tm_year years since 1900 years since 0
*/ */
@ -48,10 +48,6 @@ struct rtc_time {
int tm_isdst; int tm_isdst;
}; };
void rtc_get (struct rtc_time *);
void rtc_set (struct rtc_time *);
void rtc_reset (void);
void GregorianDay (struct rtc_time *); void GregorianDay (struct rtc_time *);
void to_tm (int, struct rtc_time *); void to_tm (int, struct rtc_time *);
unsigned long mktime (unsigned int, unsigned int, unsigned int, unsigned long mktime (unsigned int, unsigned int, unsigned int,