diff options
author | Fabio Baltieri <fabiobaltieri@google.com> | 2022-05-09 16:00:03 +0000 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-05-09 18:43:20 +0000 |
commit | 041042627a750d7a141ce2392630464a24be39b5 (patch) | |
tree | 9cf331ac3543bba51c5d3c3ce12924cf0dada07e /common | |
parent | a6fcdc3cffaf8d987514fcac48645869f171ac3e (diff) | |
download | chrome-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 'common')
-rw-r--r-- | common/i2c_controller.c | 2 | ||||
-rw-r--r-- | common/timer.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/common/i2c_controller.c b/common/i2c_controller.c index d4ba03fd07..7a0550a93e 100644 --- a/common/i2c_controller.c +++ b/common/i2c_controller.c @@ -24,7 +24,7 @@ #include "virtual_battery.h" #ifdef CONFIG_ZEPHYR -#include <drivers/i2c.h> +#include <zephyr/drivers/i2c.h> #include "i2c/i2c.h" #endif /* CONFIG_ZEPHYR */ diff --git a/common/timer.c b/common/timer.c index 8ca5014949..a8d02e7ece 100644 --- a/common/timer.c +++ b/common/timer.c @@ -17,7 +17,7 @@ #include "watchdog.h" #ifdef CONFIG_ZEPHYR -#include <kernel.h> /* For k_usleep() */ +#include <zephyr/kernel.h> /* For k_usleep() */ #else extern __error("k_usleep() should only be called from Zephyr code") int32_t k_usleep(int32_t); |