aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2011-02-16 17:31:02 -0500
committerMatthew Garrett <mjg@redhat.com>2011-03-28 06:05:23 -0400
commit80887757e304d1f973330d9398024cffcd82d00d (patch)
tree690f5fcaf13ebaa7fc9959505161184cbf7e36e4
parent820787fceb3e62c29a36423eb30e2f9f198547f7 (diff)
platform/x86: intel_mid_powerbutton needs INPUT
intel_mid_powerbtn.c uses input interfaces, so it should depend on INPUT to fix build errors when CONFIG_INPUT is not enabled: intel_mid_powerbtn.c:(.text+0x56ca8f): undefined reference to `input_event' intel_mid_powerbtn.c:(.devinit.text+0x2e7b4): undefined reference to `input_allocate_device' intel_mid_powerbtn.c:(.devinit.text+0x2e7ff): undefined reference to `input_set_capability' intel_mid_powerbtn.c:(.devinit.text+0x2e84a): undefined reference to `input_register_device' intel_mid_powerbtn.c:(.devinit.text+0x2e88b): undefined reference to `input_free_device' intel_mid_powerbtn.c:(.devexit.text+0x42f0): undefined reference to `input_unregister_device' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: Hong Liu <hong.liu@intel.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
-rw-r--r--drivers/platform/x86/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
index f0ef757d9fde..53f818d23edb 100644
--- a/drivers/platform/x86/Kconfig
+++ b/drivers/platform/x86/Kconfig
@@ -631,7 +631,7 @@ config GPIO_INTEL_PMIC
631 631
632config INTEL_MID_POWER_BUTTON 632config INTEL_MID_POWER_BUTTON
633 tristate "power button driver for Intel MID platforms" 633 tristate "power button driver for Intel MID platforms"
634 depends on INTEL_SCU_IPC 634 depends on INTEL_SCU_IPC && INPUT
635 help 635 help
636 This driver handles the power button on the Intel MID platforms. 636 This driver handles the power button on the Intel MID platforms.
637 637