From cd6bad248528abf30475ab1026b8ba9bdcb42fec Mon Sep 17 00:00:00 2001 From: Rob Barnes Date: Mon, 26 Jul 2021 12:32:36 -0600 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3053101 Commit-Queue: Diana Z Reviewed-by: Diana Z --- board/magolor/board.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'board/magolor/board.h') diff --git a/board/magolor/board.h b/board/magolor/board.h index c1f8ce3206..c1ef73cc64 100644 --- a/board/magolor/board.h +++ b/board/magolor/board.h @@ -207,9 +207,6 @@ enum battery_type { BATTERY_TYPE_COUNT, }; -extern const int keyboard_factory_scan_pins[][2]; -extern const int keyboard_factory_scan_pins_used; - void motion_interrupt(enum gpio_signal signal); #endif /* !__ASSEMBLER__ */ #endif /* __CROS_EC_BOARD_H */ -- cgit v1.2.1