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:
parent
8f184314dd
commit
3b02705ad2
|
@ -31,7 +31,7 @@
|
|||
* Note that there are small but significant differences to the
|
||||
* common "struct time":
|
||||
*
|
||||
* struct time: struct rtc_time:
|
||||
* struct time: struct rtc_time:
|
||||
* tm_mon 0 ... 11 1 ... 12
|
||||
* tm_year years since 1900 years since 0
|
||||
*/
|
||||
|
@ -48,10 +48,6 @@ struct rtc_time {
|
|||
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 to_tm (int, struct rtc_time *);
|
||||
unsigned long mktime (unsigned int, unsigned int, unsigned int,
|
||||
|
|
Loading…
Reference in New Issue