diff options
| author | Tom Rini <[email protected]> | 2019-06-02 18:19:45 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2019-06-02 18:19:45 -0400 |
| commit | 38c2a8a00132b4dcc6a0bb5baf5146b9eb9eb2d2 (patch) | |
| tree | 60e6171ac74a93fa5d9d393ad17a9530aa5238a9 /include/rtc.h | |
| parent | 55cae6458d51294f4ded1d9d2339dfed5afa90ed (diff) | |
| parent | 7950e8e2ebcd0f733ae2b00dbefefe1b742514bc (diff) | |
Merge tag 'efi-2019-07-rc4' of git://git.denx.de/u-boot-efi
Pull request for UEFI sub-system for v2019.07-rc4
Corrections for boottime services for protocols and for the SetTime()
service are provided.
Error messages for the 'setenv -e' and 'bootefi bootmgr' commands are
added.
Diffstat (limited to 'include/rtc.h')
| -rw-r--r-- | include/rtc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/rtc.h b/include/rtc.h index 2c3a5743e30..b255bdc7a33 100644 --- a/include/rtc.h +++ b/include/rtc.h @@ -258,4 +258,12 @@ void rtc_to_tm(u64 time_t, struct rtc_time *time); */ unsigned long rtc_mktime(const struct rtc_time *time); +/** + * rtc_month_days() - The number of days in the month + * + * @month: month (January = 0) + * @year: year (4 digits) + */ +int rtc_month_days(unsigned int month, unsigned int year); + #endif /* _RTC_H_ */ |
