summaryrefslogtreecommitdiff
path: root/include/power/max77686_pmic.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/power/max77686_pmic.h')
-rw-r--r--include/power/max77686_pmic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/power/max77686_pmic.h b/include/power/max77686_pmic.h
index 95ba61d953..cf476c85ab 100644
--- a/include/power/max77686_pmic.h
+++ b/include/power/max77686_pmic.h
@@ -154,7 +154,7 @@ enum {
OPMODE_ON,
};
-#ifdef CONFIG_POWER_LEGACY
+#if CONFIG_IS_ENABLED(POWER_LEGACY)
int max77686_set_ldo_voltage(struct pmic *p, int ldo, ulong uV);
int max77686_set_ldo_mode(struct pmic *p, int ldo, char opmode);
int max77686_set_buck_voltage(struct pmic *p, int buck, ulong uV);