Skip to contentSkip to conversation

intel-hid: Fix build failure when CONFIG_INTEL_HID_EVENT=m

PATCH Andy Lutomirski 2 participants 2 messages Dec 31, 2015 – Jan 4, 2016 1 message not in the archive x86 platform drivers

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi Darren-

It looks like your tree will need this fix.

Thanks,
Andy

Quoted 31 lines · Sedat Dilek

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 e06871da47db ("intel-hid: new hid event driver for hotkeys")
CC Alex Hung <[email protected]>
CC Andy Lutomirski <[email protected]>
---
 drivers/platform/x86/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/platform/x86/Kconfig +1 -1
index 96a4f18a1c35..ee0ff9287159 100644
@@ -747,6 +747,7 @@ config INTEL_HID_EVENT
        tristate "INTEL HID Event Filter"
        depends on ACPI
        depends on INPUT
+       select INPUT_SPARSEKMAP
        help
         This driver provides supports for Intel HID event. Some laptops
         require this driver for hotkey supports.
--

2.6.4

Signature · 2 lines
Andy Lutomirski
AMA Capital Management, LLC
#2 lore raw
Quoted 6 lines · Andy Lutomirski

Hi Darren-

It looks like your tree will need this fix.

Thanks,
Andy

Thanks, since this is still in for-next, I've merged the following, crediting Sedat, with the original patch. We don't want to introduce a build breakage by applying this as a separate patch.

Sedat, please Cc all maintainers listed by get_maintainer.pl in the future.

Thanks,

Quoted 40 lines · Sedat Dilek
Quoted 31 lines

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 e06871da47db ("intel-hid: new hid event driver for hotkeys")
CC Alex Hung <[email protected]>
CC Andy Lutomirski <[email protected]>
---
 drivers/platform/x86/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/platform/x86/Kconfig +1 -1
index 96a4f18a1c35..ee0ff9287159 100644
@@ -747,6 +747,7 @@ config INTEL_HID_EVENT
        tristate "INTEL HID Event Filter"
        depends on ACPI
        depends on INPUT
+       select INPUT_SPARSEKMAP
        help
         This driver provides supports for Intel HID event. Some laptops
         require this driver for hotkey supports.
--

2.6.4

Signature · 2 lines
Andy Lutomirski
AMA Capital Management, LLC
Signature · 2 lines
Darren Hart
Intel Open Source Technology Center