summaryrefslogtreecommitdiff
path: root/common/usb_pd_tcpc.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-12-17 15:15:04 -0700
committerCommit Bot <commit-bot@chromium.org>2020-12-22 23:39:33 +0000
commitd34782fcd1d2ff88522fd024ade74289a37f455d (patch)
treed19af58f99256fa5f34c2cf9214cc4fe5be1dfcd /common/usb_pd_tcpc.c
parent2998fbcc036338a16f2d66483b8cecb317316df0 (diff)
downloadchrome-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/usb_pd_tcpc.c')
-rw-r--r--common/usb_pd_tcpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/usb_pd_tcpc.c b/common/usb_pd_tcpc.c
index d8f1739532..813572e6a6 100644
--- a/common/usb_pd_tcpc.c
+++ b/common/usb_pd_tcpc.c
@@ -16,7 +16,7 @@
#include "system.h"
#include "task.h"
#include "tcpci.h"
-#include "tcpm.h"
+#include "tcpm/tcpm.h"
#include "timer.h"
#include "util.h"
#include "usb_pd.h"