summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDawid Niedzwiecki <dn@semihalf.com>2021-06-11 09:27:11 +0200
committerCommit Bot <commit-bot@chromium.org>2021-06-11 21:21:52 +0000
commitff835e2d116959e8b1a618bf1110f8cbde59ffa1 (patch)
tree9f2a05f2234a11368b180aa2db0b359c0f2df28e
parent8c0af6114508375f0c75112b9cef593719d8812a (diff)
downloadchrome-ec-ff835e2d116959e8b1a618bf1110f8cbde59ffa1.tar.gz
zephyr: lazor: Clean up includes
Don't include config_chip.h directly in the platform-specific i2c.c source file, use i2c.h instead. It will remove the build warning. BUG=b:188885798 BRANCH=none TEST='zmake testall' and make sure there are no warnings Signed-off-by: Dawid Niedzwiecki <dn@semihalf.com> Change-Id: I1309cd4e1888df2125c66c9bde56520e3485b201 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2953282 Reviewed-by: Yuval Peress <peress@chromium.org> Commit-Queue: Yuval Peress <peress@chromium.org>
-rw-r--r--zephyr/projects/trogdor/lazor/src/i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/projects/trogdor/lazor/src/i2c.c b/zephyr/projects/trogdor/lazor/src/i2c.c
index c76e6c3d4f..a7ce970843 100644
--- a/zephyr/projects/trogdor/lazor/src/i2c.c
+++ b/zephyr/projects/trogdor/lazor/src/i2c.c
@@ -4,7 +4,7 @@
*/
#include "i2c/i2c.h"
-#include "config_chip.h"
+#include "i2c.h"
/* Lazor board specific i2c implementation */