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 /include/mock | |
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 'include/mock')
-rw-r--r-- | include/mock/tcpm_mock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mock/tcpm_mock.h b/include/mock/tcpm_mock.h index 05af6aec48..7fd89919f5 100644 --- a/include/mock/tcpm_mock.h +++ b/include/mock/tcpm_mock.h @@ -5,7 +5,7 @@ /* Mock for the TCPM interface */ #include "common.h" -#include "tcpm.h" +#include "tcpm/tcpm.h" /* Copied from usb_prl_sm.c, line 99. */ #define MOCK_CHK_BUF_SIZE 7 |