summaryrefslogtreecommitdiff
path: root/zephyr/test/drivers/gpio_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/test/drivers/gpio_map.h')
-rw-r--r--zephyr/test/drivers/gpio_map.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/zephyr/test/drivers/gpio_map.h b/zephyr/test/drivers/gpio_map.h
index 08542f33d7..4caa2f420d 100644
--- a/zephyr/test/drivers/gpio_map.h
+++ b/zephyr/test/drivers/gpio_map.h
@@ -9,4 +9,7 @@
#include <devicetree.h>
#include <gpio_signal.h>
+#define EC_CROS_GPIO_INTERRUPTS \
+ GPIO_INT(GPIO_AC_PRESENT, GPIO_INT_EDGE_BOTH, extpower_interrupt)
+
#endif /* __ZEPHYR_GPIO_MAP_H */