All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] intel-hid: Fix build failure when CONFIG_INTEL_HID_EVENT=m
@ 2016-01-03 14:54 Andy Lutomirski
  2016-01-04  5:56 ` Alex Hung
  2016-01-04  6:34 ` Sedat Dilek
  0 siblings, 2 replies; 5+ messages in thread
From: Andy Lutomirski @ 2016-01-03 14:54 UTC (permalink / raw)
  To: platform-driver-x86; +Cc: Alex Hung, Darren Hart, Sedat Dilek, Andy Lutomirski

From: Sedat Dilek <sedat.dilek@gmail.com>

When building with CONFIG_INTEL_HID_EVENT=m on Andy's luto.git#xps13
Git branch I see the following build failure:

ERROR: "sparse_keymap_setup" [drivers/platform/x86/intel-hid.ko] undefined!
ERROR: "sparse_keymap_report_event" [drivers/platform/x86/intel-hid.ko] undefined!

Looks like 'select INPUT_SPARSEKMAP' is missing.

Fixes: cd8d25841a65 ("intel-hid: new hid event driver for hotkeys")
[andy: fixed commit hash above]
CC: Alex Hung <alex.hung@canonical.com>
CC: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Sedat Dilek <sedat.dilek@gmail.com>
Signed-off-by: Andy Lutomirski <luto@kernel.org>
---

Hi Alex and Darren-

I'm relaying this fix from Sedat with a trivial correction.

drivers/platform/x86/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
index d0bfcf8e8b8e..9d7704e51366 100644
--- a/drivers/platform/x86/Kconfig
+++ b/drivers/platform/x86/Kconfig
@@ -736,6 +736,7 @@ config INTEL_HID_EVENT
 	tristate "INTEL HID Event"
 	depends on ACPI
 	depends on INPUT
+	select INPUT_SPARSEKMAP
 	help
 	  This driver provides support for the Intel HID Event hotkey interface.
 	  Some laptops require this driver for hotkey support.
-- 
2.5.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-01-04 19:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1451559413-30977-1-git-send-email-sedat.dilek@gmail.com>
2015-12-31 12:28 ` [PATCH] intel-hid: Fix build failure when CONFIG_INTEL_HID_EVENT=m Andy Lutomirski
2016-01-04 19:28   ` Darren Hart
2016-01-03 14:54 Andy Lutomirski
2016-01-04  5:56 ` Alex Hung
2016-01-04  6:34 ` Sedat Dilek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.