aboutsummaryrefslogtreecommitdiff
path: root/src/ec/google/chromeec/ec_lpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/google/chromeec/ec_lpc.c')
-rw-r--r--src/ec/google/chromeec/ec_lpc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ec/google/chromeec/ec_lpc.c b/src/ec/google/chromeec/ec_lpc.c
index a445da87be..5f377c923e 100644
--- a/src/ec/google/chromeec/ec_lpc.c
+++ b/src/ec/google/chromeec/ec_lpc.c
@@ -138,11 +138,10 @@ int google_chromeec_command(struct chromeec_command *cec_command)
#ifndef __SMM__
static void lpc_ec_init(device_t dev)
{
- struct ec_google_chromeec_config *conf = dev->chip_info;
-
if (!dev->enabled)
return;
- pc_keyboard_init(&conf->keyboard);
+
+ pc_keyboard_init();
google_chromeec_init();
}