diff options
author | Scott Chao <scott_chao@wistron.corp-partner.google.com> | 2023-02-10 11:27:54 +0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-02-14 00:16:08 +0000 |
commit | 40018f3b5d717783ff0f2258498626fcb8cfabbf (patch) | |
tree | 64cf39597d8a31c29e724a3c920ff89d5a917d14 /board/kuldax | |
parent | 8ca233c5c35e956cb9a9a1ea47de81a427582a27 (diff) | |
download | chrome-ec-40018f3b5d717783ff0f2258498626fcb8cfabbf.tar.gz |
brask: move externs to header file
During pre-upload check, it will show warning that "externs should
be avoided in .c files".
BUG=b:268581418
BRANCH=none
TEST=make buildall
Change-Id: I973390da06bf6594212391bf48d6940f4ac29a07
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4238096
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'board/kuldax')
-rw-r--r-- | board/kuldax/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/kuldax/board.c b/board/kuldax/board.c index 922a7a3a75..209e08301e 100644 --- a/board/kuldax/board.c +++ b/board/kuldax/board.c @@ -12,6 +12,7 @@ #include "console.h" #include "cros_board_info.h" #include "driver/tcpm/tcpci.h" +#include "driver/wpc/cps8100.h" #include "fw_config.h" #include "gpio.h" #include "gpio_signal.h" @@ -41,7 +42,6 @@ const int usb_port_enable[USB_PORT_COUNT] = { }; BUILD_ASSERT(ARRAY_SIZE(usb_port_enable) == USB_PORT_COUNT); -extern struct pchg_drv cps8100_drv; struct pchg pchgs[] = { [0] = { .cfg = &(const struct pchg_config) { |