summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2013-04-23 15:59:57 -0700
committerChromeBot <chrome-bot@google.com>2013-04-24 00:05:53 -0700
commit3def4e04fa3ff2b28cfebdb2c4717fc51913a725 (patch)
tree73ca836edd85292ee7ee67c062d232384f1e5ab8 /include
parentc747652e4904d60dd3e7de8d7c112e0ca22048fb (diff)
downloadchrome-ec-3def4e04fa3ff2b28cfebdb2c4717fc51913a725.tar.gz
Allow keyboard_scan_config to be customized per-board
By default it's not, but if you #define CONFIG_CUSTOM_KEYSCAN, you can add your own settings in board.c BUG=chrome-os-partner:18343 TEST=build link, bds BRANCH=none Change-Id: I2a9dd48fd7f4610bc39dcc59e59a3fedec539e28 Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/48994 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/keyboard_scan.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/keyboard_scan.h b/include/keyboard_scan.h
index fb5cb5dde0..5ce76cfd1f 100644
--- a/include/keyboard_scan.h
+++ b/include/keyboard_scan.h
@@ -42,6 +42,10 @@ void keyboard_scan_init(void);
* Return a pointer to the keyboard scan config.
*/
struct keyboard_scan_config *keyboard_scan_get_config(void);
+/*
+ * Which is probably this.
+ */
+extern struct keyboard_scan_config keyscan_config;
/* Key held down at keyboard-controlled reset boot time. */
enum boot_key {