Re: [PATCH] core: devres: don't use devres code when CONFIG_DEVRES is not defined

2022-02-26 Thread Simon Glass
Hi Angus, On Mon, 21 Feb 2022 at 05:50, Angus Ainslie wrote: > > Hi Simon, > > On 2022-02-19 14:12, Simon Glass wrote: > > On Wed, 2 Feb 2022 at 16:16, Angus Ainslie wrote: > >> > >> Put guards around the devres code so that it isn't compiled during the > >> SPL. > >> > >> Signed-off-by: Angus

Re: [PATCH] core: devres: don't use devres code when CONFIG_DEVRES is not defined

2022-02-21 Thread Angus Ainslie
Hi Simon, On 2022-02-19 14:12, Simon Glass wrote: On Wed, 2 Feb 2022 at 16:16, Angus Ainslie wrote: Put guards around the devres code so that it isn't compiled during the SPL. Signed-off-by: Angus Ainslie --- drivers/core/devres.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)

Re: [PATCH] core: devres: don't use devres code when CONFIG_DEVRES is not defined

2022-02-19 Thread Simon Glass
On Wed, 2 Feb 2022 at 16:16, Angus Ainslie wrote: > > Put guards around the devres code so that it isn't compiled during the SPL. > > Signed-off-by: Angus Ainslie > --- > drivers/core/devres.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) I think the correct fix here is to change

[PATCH] core: devres: don't use devres code when CONFIG_DEVRES is not defined

2022-02-02 Thread Angus Ainslie
Put guards around the devres code so that it isn't compiled during the SPL. Signed-off-by: Angus Ainslie --- drivers/core/devres.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/core/devres.c b/drivers/core/devres.c index 313ddc7089..92a237c64c 100644 ---