Skip to content
Commit 5d059bf2 authored by Steven Rostedt (Google)'s avatar Steven Rostedt (Google) Committed by Hans de Goede
Browse files

platform/x86: thinkpad_acpi: Select INPUT_SPARSEKMAP in Kconfig

Now that drivers/platform/x86/thinkpad_acpi.c uses
sparse_keymap_report_event(), it must select INPUT_SPARSEKMAP in its
Kconfig option otherwise the build fails with:

  ld: vmlinux.o: in function `tpacpi_input_send_key':
  thinkpad_acpi.c:(.text+0xd4d27f): undefined reference to `sparse_keymap_report_event'
  ld: vmlinux.o: in function `hotkey_init':
  thinkpad_acpi.c:(.init.text+0x66cb6): undefined reference to `sparse_keymap_setup'

Fixes: 42f7b965

 ("platform/x86: thinkpad_acpi: Switch to using sparse-keymap helpers")
Signed-off-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20240522074813.379b9fc2@gandalf.local.home
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent 4d6ef1be
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment