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/voxel/board.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'board/voxel') diff --git a/board/voxel/board.h b/board/voxel/board.h index 54369a9ac8..b02716088e 100644 --- a/board/voxel/board.h +++ b/board/voxel/board.h @@ -195,9 +195,6 @@ void board_reset_pd_mcu(void); void motion_interrupt(enum gpio_signal signal); -extern const int keyboard_factory_scan_pins[][2]; -extern const int keyboard_factory_scan_pins_used; - #endif /* !__ASSEMBLER__ */ #endif /* __CROS_EC_BOARD_H */ -- cgit v1.2.1