Re: [PATCH v1 16/24] freescale: common: pfuze: define pfuze_mode_init only if defined(CONFIG_DM_PMIC)

Simon Glass
2023-02-22T21:20:39Z

On Tue, 21 Feb 2023 at 18:39, Troy Kisky <troykiskyboundary@gmail.com> wrote:
>
> pfuze_mode_init calls pmic_reg_read which is only available from
>
> obj-$(CONFIG_$(SPL_TPL_)DM_PMIC) += pmic-uclass.o
>
> Prepare for conversion of defined(CONFIG_DM_PMIC) to
> CONFIG_IS_ENABLED(DM_PMIC).
>
> Signed-off-by: Troy Kisky <troykiskyboundary@gmail.com>
> ---
>
> board/freescale/common/pfuze.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg@chromium.org>