From 8bf53a9f4e70760622c0a2e94185bc881bca14d9 Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Thu, 26 Jan 2017 20:33:29 +0800 Subject: [PATCH] autoport: add missing parameter for pc_keyboard_init() This fixes the build for the generated code for boards with PS/2 keyboard, since commit 448e386309c updated the pc_keyboard_init() function. Change-Id: I776b49b847985296eaca4af6d6e49ab5d6abbafe Signed-off-by: Iru Cai Reviewed-on: https://review.coreboot.org/18242 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Nico Huber --- util/autoport/ec_fixme.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/autoport/ec_fixme.go b/util/autoport/ec_fixme.go index 1e9265a924..f06d4570d4 100644 --- a/util/autoport/ec_fixme.go +++ b/util/autoport/ec_fixme.go @@ -65,7 +65,7 @@ Method(_PTS,1) if hasKeyboard { si.WriteString("#include \n") - MainboardInit += fmt.Sprintf("\tpc_keyboard_init();\n") + MainboardInit += fmt.Sprintf("\tpc_keyboard_init(NO_AUX_DEVICE);\n") MainboardIncludes = append(MainboardIncludes, "pc80/keyboard.h") }