diff options
author | Rob Barnes <robbarnes@google.com> | 2021-07-26 12:32:36 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-07-28 21:01:58 +0000 |
commit | cd6bad248528abf30475ab1026b8ba9bdcb42fec (patch) | |
tree | 3cb3dd3236300bd2de4552b534cbd288e1297d7a /board/elemi/board.h | |
parent | 05bbe21729b951b9cfc5462ee35cbb28f670f4a6 (diff) | |
download | chrome-ec-cd6bad248528abf30475ab1026b8ba9bdcb42fec.tar.gz |
keyboard_scan: Add consts needed for factory test to header
Add keyboard_factory_scan_pins and keyboard_factory_scan_pins_used to
keyboard_scan header so they do not need to be declared as extern by
individual boards. These constants need to be defined if
CONFIG_KEYBOARD_FACTORY_TEST is enabled.
BUG=None
TEST=Build
BRANCH=None
Change-Id: I1a100f626b3cea251ca72703d17b2d27db0f8f28
Signed-off-by: Rob Barnes <robbarnes@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3053101
Commit-Queue: Diana Z <dzigterman@chromium.org>
Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'board/elemi/board.h')
-rw-r--r-- | board/elemi/board.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/board/elemi/board.h b/board/elemi/board.h index cca3f1eaa0..f2ce54e83a 100644 --- a/board/elemi/board.h +++ b/board/elemi/board.h @@ -151,11 +151,6 @@ enum usbc_port { void board_reset_pd_mcu(void); -#ifdef CONFIG_KEYBOARD_FACTORY_TEST -extern const int keyboard_factory_scan_pins[][2]; -extern const int keyboard_factory_scan_pins_used; -#endif - #endif /* !__ASSEMBLER__ */ #endif /* __CROS_EC_BOARD_H */ |