From 938e1dd6d8e90c45dbc1d656e026440a50a5c4e9 Mon Sep 17 00:00:00 2001 From: Wealian Liao Date: Thu, 12 Aug 2021 09:54:07 +0800 Subject: zephyr: Fix keyscan_config DT_DRV_COMPAT doesn't have the compatible node. Fix it to use cros_keyscan. BRANCH=none BUG=none TEST=zmake testall TEST=check volteer & lazor key by "ksstate on" Signed-off-by: Wealian Liao Change-Id: Ib1280f64ac2fa42539fb93d24922626c9adf2278 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3088960 Reviewed-by: Keith Short Commit-Queue: Keith Short --- zephyr/shim/src/keyscan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'zephyr/shim/src') diff --git a/zephyr/shim/src/keyscan.c b/zephyr/shim/src/keyscan.c index 514d9ffaed..fa8fb11dd2 100644 --- a/zephyr/shim/src/keyscan.c +++ b/zephyr/shim/src/keyscan.c @@ -3,7 +3,7 @@ * found in the LICENSE file. */ -#define DT_DRV_COMPAT cros_kb_raw_keyscan +#define DT_DRV_COMPAT cros_keyscan #include #include @@ -11,7 +11,7 @@ #include "keyboard_scan.h" -#if DT_NODE_EXISTS(DT_INST(0, cros_kb_raw_keyscan)) +#if DT_NODE_EXISTS(DT_INST(0, cros_keyscan)) /* The keyboard matrix should have at least enough columns for the * standard keyboard with no keypad. -- cgit v1.2.1