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 <[email protected]>
> Signed-off-by: Sean Anderson <[email protected]>
> ---
> 
> 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

Attachment: signature.asc
Description: PGP signature

Reply via email to