From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Dunlap Subject: [PATCH] eeepc: fix kconfig problem Date: Mon, 01 Jun 2009 08:41:41 -0700 Message-ID: <4A23F6B5.6010000@oracle.com> References: <20090601200510.7b5334ab.sfr@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 7bit Return-path: Received: from rcsinet12.oracle.com ([148.87.113.124]:55962 "EHLO rgminet12.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752560AbZFAPju (ORCPT ); Mon, 1 Jun 2009 11:39:50 -0400 In-Reply-To: <20090601200510.7b5334ab.sfr@canb.auug.org.au> Sender: linux-next-owner@vger.kernel.org List-ID: To: Stephen Rothwell Cc: linux-next@vger.kernel.org, LKML , Corentin Chary , Len Brown Stephen Rothwell wrote: > Hi all, > > Changes since 20090529: Resend. linux-next still needs this patch. Len, what mailing list(s) should drivers/platform/x86/ patches be sent to? --- From: Randy Dunlap EEEPC_LAPTOP selects HOTPLUG_PCI. This causes failures (build error below) when CONFIG_HOTPLUG is not enabled, so additionally select HOTPLUG since kconfig 'select' doesn't follow its dependency chain. Also, only select HOTPLUG_PCI if PCI is already enabled. drivers/pci/hotplug/fakephp.c:55: error: implicit declaration of function 'pci_rescan_bus' Signed-off-by: Randy Dunlap Acked-by: Corentin Chary --- drivers/platform/x86/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- linux-next-20090518.orig/drivers/platform/x86/Kconfig +++ linux-next-20090518/drivers/platform/x86/Kconfig @@ -354,7 +354,8 @@ config EEEPC_LAPTOP select BACKLIGHT_CLASS_DEVICE select HWMON select RFKILL - select HOTPLUG_PCI + select HOTPLUG + select HOTPLUG_PCI if PCI ---help--- This driver supports the Fn-Fx keys on Eee PC laptops. It also adds the ability to switch camera/wlan on/off.