diff options
author | Simon Glass <sjg@chromium.org> | 2020-12-17 15:15:04 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-12-22 23:39:33 +0000 |
commit | d34782fcd1d2ff88522fd024ade74289a37f455d (patch) | |
tree | d19af58f99256fa5f34c2cf9214cc4fe5be1dfcd /common/usbc | |
parent | 2998fbcc036338a16f2d66483b8cecb317316df0 (diff) | |
download | chrome-ec-d34782fcd1d2ff88522fd024ade74289a37f455d.tar.gz |
tcpm: Move tcpm.h into an include directory
This header file is used from quite a few files, relying on the EC
build system to find includes in the driver/tcpm directory. For Zephyr
we don't want to add that as an include.
It makes more sense for header files to be in an include directory, so
move it and fix up the users.
BUG=b:175434113
BRANCH=none
TEST=build Zephyr and ECOS on volteer
Signed-off-by: Simon Glass <sjg@chromium.org>
Change-Id: I5851914b1a7d3fdc1ba911c0fbe9046afbaf6f5d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2597985
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'common/usbc')
-rw-r--r-- | common/usbc/tbt_alt_mode.c | 2 | ||||
-rw-r--r-- | common/usbc/usb_mode.c | 2 | ||||
-rw-r--r-- | common/usbc/usb_pd_dpm.c | 2 | ||||
-rw-r--r-- | common/usbc/usb_pe_drp_sm.c | 2 | ||||
-rw-r--r-- | common/usbc/usb_prl_sm.c | 2 | ||||
-rw-r--r-- | common/usbc/usb_tc_ctvpd_sm.c | 2 | ||||
-rw-r--r-- | common/usbc/usb_tc_drp_acc_trysrc_sm.c | 2 | ||||
-rw-r--r-- | common/usbc/usb_tc_vpd_sm.c | 2 | ||||
-rw-r--r-- | common/usbc/usbc_task.c | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/common/usbc/tbt_alt_mode.c b/common/usbc/tbt_alt_mode.c index 23261adb5e..c6100e48c4 100644 --- a/common/usbc/tbt_alt_mode.c +++ b/common/usbc/tbt_alt_mode.c @@ -13,7 +13,7 @@ #include <stdint.h> #include "compile_time_macros.h" #include "console.h" -#include "tcpm.h" +#include "tcpm/tcpm.h" #include "usb_common.h" #include "usb_mux.h" #include "usb_pd.h" diff --git a/common/usbc/usb_mode.c b/common/usbc/usb_mode.c index 5a1965d431..bbdad46a05 100644 --- a/common/usbc/usb_mode.c +++ b/common/usbc/usb_mode.c @@ -13,7 +13,7 @@ #include <stdint.h> #include "compile_time_macros.h" #include "console.h" -#include "tcpm.h" +#include "tcpm/tcpm.h" #include "usb_common.h" #include "usb_mode.h" #include "usb_mux.h" diff --git a/common/usbc/usb_pd_dpm.c b/common/usbc/usb_pd_dpm.c index d71e590922..a8bb242954 100644 --- a/common/usbc/usb_pd_dpm.c +++ b/common/usbc/usb_pd_dpm.c @@ -13,7 +13,7 @@ #include "console.h" #include "ec_commands.h" #include "system.h" -#include "tcpm.h" +#include "tcpm/tcpm.h" #include "usb_dp_alt_mode.h" #include "usb_mode.h" #include "usb_pd.h" diff --git a/common/usbc/usb_pe_drp_sm.c b/common/usbc/usb_pe_drp_sm.c index cb0b1611b9..1cb44bf164 100644 --- a/common/usbc/usb_pe_drp_sm.c +++ b/common/usbc/usb_pe_drp_sm.c @@ -15,7 +15,7 @@ #include "stdbool.h" #include "system.h" #include "task.h" -#include "tcpm.h" +#include "tcpm/tcpm.h" #include "util.h" #include "usb_common.h" #include "usb_dp_alt_mode.h" diff --git a/common/usbc/usb_prl_sm.c b/common/usbc/usb_prl_sm.c index bbf6060196..00a4cecfeb 100644 --- a/common/usbc/usb_prl_sm.c +++ b/common/usbc/usb_prl_sm.c @@ -19,7 +19,7 @@ #include "system.h" #include "task.h" #include "timer.h" -#include "tcpm.h" +#include "tcpm/tcpm.h" #include "util.h" #include "usb_charge.h" #include "usb_mux.h" diff --git a/common/usbc/usb_tc_ctvpd_sm.c b/common/usbc/usb_tc_ctvpd_sm.c index ba4b9710dc..a2babe754a 100644 --- a/common/usbc/usb_tc_ctvpd_sm.c +++ b/common/usbc/usb_tc_ctvpd_sm.c @@ -7,7 +7,7 @@ #include "console.h" #include "system.h" #include "task.h" -#include "tcpm.h" +#include "tcpm/tcpm.h" #include "usb_pd.h" #include "usb_tc_sm.h" #include "vpd_api.h" diff --git a/common/usbc/usb_tc_drp_acc_trysrc_sm.c b/common/usbc/usb_tc_drp_acc_trysrc_sm.c index 74b3552309..e36d64b03b 100644 --- a/common/usbc/usb_tc_drp_acc_trysrc_sm.c +++ b/common/usbc/usb_tc_drp_acc_trysrc_sm.c @@ -10,7 +10,7 @@ #include "hooks.h" #include "system.h" #include "task.h" -#include "tcpm.h" +#include "tcpm/tcpm.h" #include "usb_common.h" #include "usb_mux.h" #include "usb_pd.h" diff --git a/common/usbc/usb_tc_vpd_sm.c b/common/usbc/usb_tc_vpd_sm.c index 171c219705..f230d15003 100644 --- a/common/usbc/usb_tc_vpd_sm.c +++ b/common/usbc/usb_tc_vpd_sm.c @@ -7,7 +7,7 @@ #include "console.h" #include "system.h" #include "task.h" -#include "tcpm.h" +#include "tcpm/tcpm.h" #include "usb_pd.h" #include "usb_tc_sm.h" #include "usb_sm.h" diff --git a/common/usbc/usbc_task.c b/common/usbc/usbc_task.c index af9e7986bd..d0833d9103 100644 --- a/common/usbc/usbc_task.c +++ b/common/usbc/usbc_task.c @@ -24,7 +24,7 @@ #include "usb_mux.h" #include "usb_pd.h" #include "usb_prl_sm.h" -#include "tcpm.h" +#include "tcpm/tcpm.h" #include "usb_pe_sm.h" #include "usb_prl_sm.h" #include "usb_sm.h" |