From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Dunlap Subject: [PATCH -next] eeepc-wmi: kconfig changes to fix build errors Date: Tue, 22 Feb 2011 13:47:35 -0800 Message-ID: <20110222134735.0bfbec8b.randy.dunlap@oracle.com> References: <20110222183437.ec2807bf.sfr@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20110222183437.ec2807bf.sfr@canb.auug.org.au> Sender: platform-driver-x86-owner@vger.kernel.org To: Stephen Rothwell , Corentin Chary , Matthew Garrett Cc: linux-next@vger.kernel.org, LKML , platform-driver-x86@vger.kernel.org List-Id: linux-next.vger.kernel.org From: Randy Dunlap 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 --- drivers/platform/x86/Kconfig | 1 + 1 file changed, 1 insertion(+) --- linux-next-20110222.orig/drivers/platform/x86/Kconfig +++ linux-next-20110222/drivers/platform/x86/Kconfig @@ -447,6 +447,7 @@ config EEEPC_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