summary refs log tree commit diff
path: root/drivers/platform
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2011-02-22 13:47:35 -0800
committerMatthew Garrett <mjg@redhat.com>2011-03-28 06:07:24 -0400
commit90ba4b1bfcf71bfe5c3844ddeb474aae4453cabd (patch)
tree02577c1d9bed51fdb523ff715373590ead6d97aa /drivers/platform
parent5f8540094d23b8886d671ff1faf875b698e2f299 (diff)
downloadlinux-90ba4b1bfcf71bfe5c3844ddeb474aae4453cabd.tar.gz
eeepc-wmi: kconfig changes to fix build errors
Fix eeepc-wmi build when CONFIG_HOTPLUG_PCI is not enabled:

eeepc-wmi.c:(.text+0x3bc5e9): undefined reference to `pci_hp_deregister'
eeepc-wmi.c:(.text+0x3bcca4): undefined reference to `__pci_hp_register'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
index 0c7cf666a1bc..0253157085d3 100644
--- a/drivers/platform/x86/Kconfig
+++ b/drivers/platform/x86/Kconfig
@@ -462,6 +462,7 @@ config ASUS_WMI
 	depends on EXPERIMENTAL
 	depends on BACKLIGHT_CLASS_DEVICE
 	depends on RFKILL || RFKILL = n
+	depends on HOTPLUG_PCI
 	select INPUT_SPARSEKMAP
 	select LEDS_CLASS
 	select NEW_LEDS