msi-laptop: fix config-dependent build error
authorRandy Dunlap <randy.dunlap@oracle.com>
Wed, 30 Mar 2011 22:20:22 +0000 (15:20 -0700)
committerMatthew Garrett <mjg@redhat.com>
Fri, 1 Apr 2011 18:24:06 +0000 (14:24 -0400)
commita0bcaee99df69b6d4d4dfd30bd40ac24b5ad3e22
treea33fd743935d98ee91b63fea314f5fe491172eca
parent9481472559b3ecd366390786628c2fb211d1477b
msi-laptop: fix config-dependent build error

The msi-laptop driver uses input_*() and sparse_keymap_*() interfaces.
It should depend on the INPUT subsystem being present and select
INPUT_SPARSEKMAP so that those interfaces are present.

ERROR: "input_free_device" [drivers/platform/x86/msi-laptop.ko] undefined!
ERROR: "input_register_device" [drivers/platform/x86/msi-laptop.ko] undefined!
ERROR: "sparse_keymap_setup" [drivers/platform/x86/msi-laptop.ko] undefined!
ERROR: "input_allocate_device" [drivers/platform/x86/msi-laptop.ko] undefined!
ERROR: "sparse_keymap_report_event" [drivers/platform/x86/msi-laptop.ko] undefined!
ERROR: "input_unregister_device" [drivers/platform/x86/msi-laptop.ko] undefined!
ERROR: "sparse_keymap_free" [drivers/platform/x86/msi-laptop.ko] undefined!

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Matthew Garrett <mjg@redhat.com>
Cc: "Lee, Chun-Yi" <jlee@novell.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/Kconfig