aboutsummaryrefslogtreecommitdiff
path: root/board/samsung/common/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/samsung/common/misc.c')
-rw-r--r--board/samsung/common/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/samsung/common/misc.c b/board/samsung/common/misc.c
index 7d3b9846e3..d48ba7eaf0 100644
--- a/board/samsung/common/misc.c
+++ b/board/samsung/common/misc.c
@@ -117,7 +117,7 @@ void set_board_info(void)
#ifdef CONFIG_LCD_MENU
static int power_key_pressed(u32 reg)
{
-#ifndef CONFIG_DM_I2C /* TODO(maintainer): Convert to driver model */
+#if !CONFIG_IS_ENABLED(DM_I2C) /* TODO(maintainer): Convert to driver model */
struct pmic *pmic;
u32 status;
u32 mask;