eeepc-wmi: kconfig changes to fix build errors
authorRandy Dunlap <randy.dunlap@oracle.com>
Tue, 22 Feb 2011 21:47:35 +0000 (13:47 -0800)
committerMatthew Garrett <mjg@redhat.com>
Mon, 28 Mar 2011 10:07:24 +0000 (06:07 -0400)
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>
drivers/platform/x86/Kconfig

index 0c7cf666a1bc77f2499e4d54cd8a924010263ab7..0253157085d3a2204417229ca35c33b711b22f67 100644 (file)
@@ -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