summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Baltieri <fabiobaltieri@google.com>2022-05-25 11:28:57 +0000
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-05-31 16:39:10 +0000
commita541508c3935fd095af74c4eb417c893f0529a33 (patch)
tree9c1d0e505d739fe048cdcca95cf30d3ef637f841
parent5dd57b42b0fb30e116e651a4a0733425956e87c0 (diff)
downloadchrome-ec-a541508c3935fd095af74c4eb417c893f0529a33.tar.gz
zephyr: fix few more legacy #include
Fix few more #include lacking the zephyr/ prefix. BUG=none BRANCH=none TEST=cq dry run Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com> Change-Id: I7c5f5d522d311a28bdda699f072a497b9016b4d3 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3673074 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
-rw-r--r--zephyr/projects/intelrvp/mtlrvp/src/board_power.c6
-rw-r--r--zephyr/shim/include/usbc/tcpc_ccgxxf.h2
-rw-r--r--zephyr/shim/src/led_driver/led.h4
-rw-r--r--zephyr/test/drivers/src/console_cmd/usb_pd_console.c2
4 files changed, 7 insertions, 7 deletions
diff --git a/zephyr/projects/intelrvp/mtlrvp/src/board_power.c b/zephyr/projects/intelrvp/mtlrvp/src/board_power.c
index 205fe8e0b9..6e5253ac55 100644
--- a/zephyr/projects/intelrvp/mtlrvp/src/board_power.c
+++ b/zephyr/projects/intelrvp/mtlrvp/src/board_power.c
@@ -3,9 +3,9 @@
* found in the LICENSE file.
*/
-#include <sys/atomic.h>
-#include <logging/log.h>
-#include <drivers/gpio.h>
+#include <zephyr/sys/atomic.h>
+#include <zephyr/logging/log.h>
+#include <zephyr/drivers/gpio.h>
#include <ap_power/ap_power.h>
#include <ap_power/ap_power_events.h>
diff --git a/zephyr/shim/include/usbc/tcpc_ccgxxf.h b/zephyr/shim/include/usbc/tcpc_ccgxxf.h
index 549712767e..566fed03d6 100644
--- a/zephyr/shim/include/usbc/tcpc_ccgxxf.h
+++ b/zephyr/shim/include/usbc/tcpc_ccgxxf.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-#include <devicetree.h>
+#include <zephyr/devicetree.h>
#include "driver/tcpm/ccgxxf.h"
#define CCGXXF_TCPC_COMPAT cypress_ccgxxf
diff --git a/zephyr/shim/src/led_driver/led.h b/zephyr/shim/src/led_driver/led.h
index 7d7133a72b..af2b11fa92 100644
--- a/zephyr/shim/src/led_driver/led.h
+++ b/zephyr/shim/src/led_driver/led.h
@@ -7,8 +7,8 @@
#define __CROS_EC_LED_H__
#include <zephyr/devicetree.h>
-#include <drivers/gpio.h>
-#include <drivers/pwm.h>
+#include <zephyr/drivers/gpio.h>
+#include <zephyr/drivers/pwm.h>
#define COMPAT_GPIO_LED cros_ec_gpio_led_pins
#define COMPAT_PWM_LED cros_ec_pwm_led_pins
diff --git a/zephyr/test/drivers/src/console_cmd/usb_pd_console.c b/zephyr/test/drivers/src/console_cmd/usb_pd_console.c
index 417c4bc472..4902591c67 100644
--- a/zephyr/test/drivers/src/console_cmd/usb_pd_console.c
+++ b/zephyr/test/drivers/src/console_cmd/usb_pd_console.c
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-#include <shell/shell.h>
+#include <zephyr/shell/shell.h>
#include <ztest.h>
#include "console.h"