diff options
author | martin yan <martin.yan@microchip.corp-partner.google.com> | 2022-04-26 14:45:30 -0400 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-04-27 15:14:22 +0000 |
commit | 0dddf86d1bdda977655e28690fe4bbad91f77980 (patch) | |
tree | 1596177ffcccf26dfa589ed7997d95401dffcd6b | |
parent | d9a150a877db516786dee73dbdf967b252e65933 (diff) | |
download | chrome-ec-0dddf86d1bdda977655e28690fe4bbad91f77980.tar.gz |
zephyr: mchp: Modify shim gpio include
Modify shim gpio include directory, not from zephyr main driver
BUG=none
BRANCH=main
TEST=zmake testall
Signed-off-by: martin yan <martin.yan@microchip.corp-partner.google.com>
Change-Id: I3329945bcf91a972c706fd8523f3b83d6cd08653
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3606919
Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com>
Reviewed-by: Wai-Hong Tam <waihong@google.com>
-rw-r--r-- | zephyr/shim/chip/mchp/CMakeLists.txt | 2 | ||||
-rw-r--r-- | zephyr/shim/chip/mchp/gpio.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/zephyr/shim/chip/mchp/CMakeLists.txt b/zephyr/shim/chip/mchp/CMakeLists.txt index 6526ca3876..0948424275 100644 --- a/zephyr/shim/chip/mchp/CMakeLists.txt +++ b/zephyr/shim/chip/mchp/CMakeLists.txt @@ -2,7 +2,7 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -zephyr_library_include_directories(include) +cros_ec_library_include_directories(include) zephyr_library_sources(clock.c) zephyr_library_sources(gpio.c) diff --git a/zephyr/shim/chip/mchp/gpio.c b/zephyr/shim/chip/mchp/gpio.c index eaffbf5c28..f7e042d693 100644 --- a/zephyr/shim/chip/mchp/gpio.c +++ b/zephyr/shim/chip/mchp/gpio.c @@ -4,10 +4,9 @@ */ #include <device.h> +#include <drivers/gpio.h> #include <kernel.h> #include <logging/log.h> - -#include "gpio.h" #include "gpio/gpio.h" LOG_MODULE_REGISTER(shim_cros_gpio, LOG_LEVEL_ERR); |