]> git.baikalelectronics.ru Git - uboot.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)
commit74628cef08af4cf76f4a571968772073f581bd51
tree4b6fc541bf21bcd0dc2afa9b832963393e2bf22b
parent00c0cbc2e3d58e6433e2309da0cdd65cd327bbce
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