]> git.dujemihanovic.xyz Git - u-boot.git/commit
power: pmic: add dm style definitions if not CONFIG_IS_ENABLED(POWER_LEGACY)
authorTroy Kisky <troykiskyboundary@gmail.com>
Mon, 13 Mar 2023 21:31:44 +0000 (14:31 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 10 May 2023 20:45:42 +0000 (16:45 -0400)
commit1781ec67f43ae6fcaec628831b09a587f5cab174
tree4b6fc541bf21bcd0dc2afa9b832963393e2bf22b
parentd975da6363804fc0dd677f5b22b5f27074674f5b
power: pmic: add dm style definitions if not CONFIG_IS_ENABLED(POWER_LEGACY)

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 <troykiskyboundary@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/power/pmic.h