
22 Oct
2022
22 Oct
'22
3:37 a.m.
On Tue, Oct 11, 2022 at 04:06:35PM -0400, Sean Anderson wrote:
This adds fallbacks for the various dm_rtc_* functions. This allows common code to use these functions without ifdefs.
Fixes: c8ce7ba87d1 ("misc: Add support for nvmem cells") Reviewed-by: Simon Glass sjg@chromium.org Signed-off-by: Sean Anderson sean.anderson@seco.com
Changes in v2:
- Include linux/errno.h for ENOSYS. This is needed for some mips boards when CONFIG_BLK is enabled for whatever reason.
include/rtc.h | 32 +++++++++++++++++++++++++++++--- 1 file changed, 29 insertions(+), 3 deletions(-)
Almost there, this just breaks chromebook_coral now, but nothing else.
--
Tom