Re: [PATCH v1 22/24] power: pmic: add dm style definitions if not CONFIG_IS_ENABLED(POWER_LEGACY)

2023-02-22 Thread Simon Glass
On Tue, 21 Feb 2023 at 18:39, Troy Kisky wrote: > > This avoids an error in converting to CONFIG_IS_ENABLED(DM_PMIC). > Many boards SPL code needs these definitions to compile, even if > the functions are not linked. > > Signed-off-by: Troy Kisky > --- > > include/power/pmic.h | 2 +- > 1 file c

[PATCH v1 22/24] power: pmic: add dm style definitions if not CONFIG_IS_ENABLED(POWER_LEGACY)

2023-02-21 Thread Troy Kisky
This avoids an error in converting to CONFIG_IS_ENABLED(DM_PMIC). Many boards SPL code needs these definitions to compile, even if the functions are not linked. Signed-off-by: Troy Kisky --- include/power/pmic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/power/p