summaryrefslogtreecommitdiff
path: root/drivers/power/power_core.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2024-09-29 19:49:48 -0600
committerTom Rini <trini@konsulko.com>2024-10-11 11:44:48 -0600
commit371dc068bbf50c6ed6146c04ec83b644bcc79249 (patch)
treeedad3a36155bccf380c703c2c81e2c0a9ab210a4 /drivers/power/power_core.c
parentdac3ce976a9b06be5aadbd857c4b64a8c521c6d4 (diff)
drivers: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD
Use the new symbol to refer to any 'SPL' build, including TPL and VPL Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/power/power_core.c')
-rw-r--r--drivers/power/power_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/power_core.c b/drivers/power/power_core.c
index 1caf9f09346..61b2fe5f54a 100644
--- a/drivers/power/power_core.c
+++ b/drivers/power/power_core.c
@@ -78,7 +78,7 @@ struct pmic *pmic_get(const char *s)
return NULL;
}
-#ifndef CONFIG_SPL_BUILD
+#ifndef CONFIG_XPL_BUILD
static int pmic_dump(struct pmic *p)
{
int i, ret;