summaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
authorFabio Baltieri <fabiobaltieri@google.com>2022-05-09 16:00:03 +0000
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-05-09 18:43:20 +0000
commit041042627a750d7a141ce2392630464a24be39b5 (patch)
tree9cf331ac3543bba51c5d3c3ce12924cf0dada07e /include/common.h
parenta6fcdc3cffaf8d987514fcac48645869f171ac3e (diff)
downloadchrome-ec-041042627a750d7a141ce2392630464a24be39b5.tar.gz
zephyr: add a zephyr/ prefix to all zephyr includes
This adds a zephyr/ prefix to all #include path pointing to Zephyr header files, so that we could drop LEGACY_INCLUD_PATH once all upstream code has been converted. Generated using something similar to the script in: c7b5b3c419 samples: migrate includes to contain <zephyr/...> prefix BRANCH=none BUG=none TEST=cq dry run Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com> Change-Id: I5ba2c859fe10a34ea8d3a49a612132ea4d02f2cb Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3634345 Reviewed-by: Yuval Peress <peress@google.com>
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/common.h b/include/common.h
index 391000933b..33c9ab97c2 100644
--- a/include/common.h
+++ b/include/common.h
@@ -15,8 +15,8 @@
#ifdef CONFIG_ZEPHYR
#include <fpu.h>
-#include <sys/util.h>
-#include <toolchain.h>
+#include <zephyr/sys/util.h>
+#include <zephyr/toolchain.h>
#ifdef CONFIG_ZTEST
#define TEST_BUILD
#endif /* CONFIG_ZTEST */