aboutsummaryrefslogtreecommitdiff
path: root/src/ec/quanta/ene_kb3940q/ec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/quanta/ene_kb3940q/ec.c')
-rw-r--r--src/ec/quanta/ene_kb3940q/ec.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ec/quanta/ene_kb3940q/ec.c b/src/ec/quanta/ene_kb3940q/ec.c
index 137aa8108d..57854d051f 100644
--- a/src/ec/quanta/ene_kb3940q/ec.c
+++ b/src/ec/quanta/ene_kb3940q/ec.c
@@ -141,13 +141,11 @@ static void ene_kb3940q_log_events(void)
static void ene_kb3940q_init(device_t dev)
{
- struct ec_quanta_ene_kb3940q_config *conf = dev->chip_info;
-
if (!dev->enabled)
return;
printk(BIOS_DEBUG, "Quanta EnE KB3940Q: Initializing keyboard.\n");
- pc_keyboard_init(&conf->keyboard);
+ pc_keyboard_init();
ene_kb3940q_log_events();
}