summaryrefslogtreecommitdiff
path: root/zephyr/shim/include/zephyr_gpio_signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/shim/include/zephyr_gpio_signal.h')
-rw-r--r--zephyr/shim/include/zephyr_gpio_signal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/shim/include/zephyr_gpio_signal.h b/zephyr/shim/include/zephyr_gpio_signal.h
index ff047476d9..6c90db81f4 100644
--- a/zephyr/shim/include/zephyr_gpio_signal.h
+++ b/zephyr/shim/include/zephyr_gpio_signal.h
@@ -11,7 +11,7 @@
#include <devicetree.h>
#include <toolchain.h>
-#define GPIO_SIGNAL(id) DT_ENUM_UPPER_TOKEN(id, enum_name)
+#define GPIO_SIGNAL(id) DT_STRING_UPPER_TOKEN(id, enum_name)
#define GPIO_SIGNAL_WITH_COMMA(id) \
COND_CODE_1(DT_NODE_HAS_PROP(id, enum_name), (GPIO_SIGNAL(id), ), ())
enum gpio_signal {