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

Simon Glass sjg at chromium.org
Wed Feb 22 22:20:02 CET 2023


On Tue, 21 Feb 2023 at 18:39, Troy Kisky <troykiskyboundary at 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 at gmail.com>
> ---
>
>  board/freescale/common/pfuze.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

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


More information about the U-Boot mailing list