summaryrefslogtreecommitdiff
path: root/include/palmas.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/palmas.h')
-rw-r--r--include/palmas.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/palmas.h b/include/palmas.h
index 20c7e489c1..e259a4d04b 100644
--- a/include/palmas.h
+++ b/include/palmas.h
@@ -117,7 +117,7 @@
#define BB_VSEL_VBAT (3 << 1)
#define BB_CHRG_EN (1 << 0)
-#ifndef CONFIG_DM_I2C
+#if !CONFIG_IS_ENABLED(DM_I2C)
/*
* Functions to read and write from TPS659038/TWL6035/TWL6037
* or other Palmas family of TI PMICs