
11 Oct
2022
11 Oct
'22
9:40 p.m.
On Fri, Sep 23, 2022 at 02:30:16PM -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") Signed-off-by: Sean Anderson sean.anderson@seco.com Reviewed-by: Simon Glass sjg@chromium.org
This breaks a number of platforms such as malta64el: +include/rtc.h: In function 'dm_rtc_get': +include/rtc.h:225:17: error: 'ENOSYS' undeclared (first use in this function) + 225 | return -ENOSYS; + | ^~~~~~
--
Tom