diff options
author | Simon Glass <sjg@chromium.org> | 2020-12-17 13:40:37 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-12-17 22:53:31 +0000 |
commit | 4d4b1307e02c4b1faf56fa5918ab2962a4a42aea (patch) | |
tree | a7127f35f3851e249e21a595dd866843cf26ebf2 /zephyr/shim/chip/npcx | |
parent | 53af9d188fb7e714623d4ebd4e78e83090c09e74 (diff) | |
download | chrome-ec-4d4b1307e02c4b1faf56fa5918ab2962a4a42aea.tar.gz |
zephyr: Fix missing GPIO header in keyboard_raw
Fix the warning about npcx_get_gpio_dev() not being declared.
BUG=b:174871569
BRANCH=none
TEST=build for zephyr, see the warning gone
Signed-off-by: Simon Glass <sjg@chromium.org>
Change-Id: Ic0ef6e85baf884fa2c0d0a09044fd1da606e4bb8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2595221
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'zephyr/shim/chip/npcx')
-rw-r--r-- | zephyr/shim/chip/npcx/keyboard_raw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zephyr/shim/chip/npcx/keyboard_raw.c b/zephyr/shim/chip/npcx/keyboard_raw.c index f19b26d873..14fb7fcb22 100644 --- a/zephyr/shim/chip/npcx/keyboard_raw.c +++ b/zephyr/shim/chip/npcx/keyboard_raw.c @@ -10,6 +10,7 @@ #include <dt-bindings/clock/npcx_clock.h> #include <logging/log.h> #include <soc.h> +#include <soc_gpio.h> #include <zephyr.h> #include "drivers/cros_kb_raw.h" |