summaryrefslogtreecommitdiff
path: root/zephyr
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2020-10-27 14:59:19 -0600
committerCommit Bot <commit-bot@chromium.org>2020-10-28 02:05:39 +0000
commita07201ceeabb660c4b1343a8f17eeb26696054ac (patch)
tree729a15f761be3b8bbcc230b17a2fd4b83e40a77a /zephyr
parent199d959772c7822cc30dec6c7fc1511e244b067a (diff)
downloadchrome-ec-a07201ceeabb660c4b1343a8f17eeb26696054ac.tar.gz
zephyr: fix build breakage
We weren't including a header which defined _CONCAT from this file, so it's hit or miss whether the right headers were included before this one. Change to DT_CAT, which does the same thing and is already in devicetree.h. BUG=b:171820560 BRANCH=none TEST=compile for volteer: zmake configure -B ~/volteer-build projects/experimental/volteer zmake build ~/volteer-build Change-Id: Ice319bf3af32e5805fd8933dba9a72dc6c1affff Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2503786 Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org> Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'zephyr')
-rw-r--r--zephyr/shim/include/gpio_signal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/shim/include/gpio_signal.h b/zephyr/shim/include/gpio_signal.h
index 698ef126bb..9d7fcc42c6 100644
--- a/zephyr/shim/include/gpio_signal.h
+++ b/zephyr/shim/include/gpio_signal.h
@@ -8,7 +8,7 @@
#include <devicetree.h>
-#define GPIO_SIGNAL(id) _CONCAT(GPIO_, id)
+#define GPIO_SIGNAL(id) DT_CAT(GPIO_, id)
#define GPIO_SIGNAL_WITH_COMMA(id) GPIO_SIGNAL(id),
enum gpio_signal {
#if DT_NODE_EXISTS(DT_PATH(named_gpios))