On Wed, 2 Feb 2022 at 16:16, Angus Ainslie <an...@akkea.ca> wrote: > > Put guards around the devres code so that it isn't compiled during the SPL. > > Signed-off-by: Angus Ainslie <an...@akkea.ca> > --- > drivers/core/devres.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-)
I think the correct fix here is to change the Makefile rule for this file to use CONFIG_$(SPL_)DEVRES instead of CONFIG_DEVRES Can you try it? Regards, Simon [..]