summaryrefslogtreecommitdiff
path: root/chip/it83xx/config_chip.h
diff options
context:
space:
mode:
Diffstat (limited to 'chip/it83xx/config_chip.h')
-rw-r--r--chip/it83xx/config_chip.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/it83xx/config_chip.h b/chip/it83xx/config_chip.h
index aed0478b35..2e71fb3ef6 100644
--- a/chip/it83xx/config_chip.h
+++ b/chip/it83xx/config_chip.h
@@ -160,7 +160,7 @@
/* Chip needs to do custom pre-init */
#define CONFIG_CHIP_PRE_INIT
-#define GPIO_PIN(port, index) GPIO_##port, (1 << index)
+#define GPIO_PIN(port, index) GPIO_##port, BIT(index)
#define GPIO_PIN_MASK(p, m) .port = GPIO_##p, .mask = (m)
#endif /* __CROS_EC_CONFIG_CHIP_H */