summaryrefslogtreecommitdiff
path: root/drivers/power/sy8106a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/sy8106a.c')
-rw-r--r--drivers/power/sy8106a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/sy8106a.c b/drivers/power/sy8106a.c
index fb6028de71a..d9a2b6904b0 100644
--- a/drivers/power/sy8106a.c
+++ b/drivers/power/sy8106a.c
@@ -10,7 +10,7 @@
#define SY8106A_VOUT1_SEL 1
#define SY8106A_VOUT1_SEL_ENABLE (1 << 7)
-#ifdef CONFIG_SPL_BUILD
+#ifdef CONFIG_XPL_BUILD
static u8 sy8106a_mvolt_to_cfg(int mvolt, int min, int max, int div)
{
if (mvolt < min)