eeepc-wmi: Build fix

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Saturday, April 24, 2010 - 3:59 pm

Gitweb:     http://git.kernel.org/linus/fb48aef7c3e53231cddccc1e43721543bc033ae9
Commit:     fb48aef7c3e53231cddccc1e43721543bc033ae9
Parent:     668f4a03211ace7aa57dece90bd835b4f9b9dd30
Author:     Ingo Molnar <mingo@elte.hu>
AuthorDate: Wed Apr 7 16:22:45 2010 +0200
Committer:  Matthew Garrett <mjg@redhat.com>
CommitDate: Mon Apr 12 13:21:35 2010 -0400

    eeepc-wmi: Build fix
    
    -tip testing found:
    
    eeepc-wmi.c:(.text+0x36673c): undefined reference to `sparse_keymap_report_event'
    drivers/built-in.o: In function `eeepc_wmi_init':
    eeepc-wmi.c:(.init.text+0x19cd0): undefined reference to `sparse_keymap_setup'
    eeepc-wmi.c:(.init.text+0x19cf0): undefined reference to `sparse_keymap_free'
    eeepc-wmi.c:(.init.text+0x19d0b): undefined reference to `sparse_keymap_free'
    drivers/built-in.o: In function `eeepc_wmi_exit':
    eeepc-wmi.c:(.exit.text+0x2e87): undefined reference to `sparse_keymap_free'
    
    To fix this select INPUT_SPARSEKMAP, like the ASUS driver does.
    
    Signed-off-by: Ingo Molnar <mingo@elte.hu>
    Signed-off-by: Matthew Garrett <mjg@redhat.com>
---
 drivers/platform/x86/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
index 7bec458..6c3320d 100644
--- a/drivers/platform/x86/Kconfig
+++ b/drivers/platform/x86/Kconfig
@@ -390,6 +390,7 @@ config EEEPC_WMI
 	depends on ACPI_WMI
 	depends on INPUT
 	depends on EXPERIMENTAL
+	select INPUT_SPARSEKMAP
 	---help---
 	  Say Y here if you want to support WMI-based hotkeys on Eee PC laptops.
 
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
eeepc-wmi: Build fix, Linux Kernel Mailing ..., (Sat Apr 24, 3:59 pm)