From patchwork Tue Jun 16 17:44:58 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 30647 X-Patchwork-Delegate: corentincj@iksaif.net Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n5GHmYrU006540 for ; Tue, 16 Jun 2009 17:48:34 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759550AbZFPRs3 (ORCPT ); Tue, 16 Jun 2009 13:48:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758633AbZFPRs3 (ORCPT ); Tue, 16 Jun 2009 13:48:29 -0400 Received: from acsinet11.oracle.com ([141.146.126.233]:19482 "EHLO acsinet11.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757995AbZFPRs2 (ORCPT ); Tue, 16 Jun 2009 13:48:28 -0400 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by acsinet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n5GHnIMf001218 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 16 Jun 2009 17:49:19 GMT Received: from abhmt002.oracle.com (abhmt002.oracle.com [141.146.116.11]) by acsinet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n5GHnZep021905; Tue, 16 Jun 2009 17:49:35 GMT Received: from [192.168.1.4] (/98.108.130.97) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 16 Jun 2009 10:48:17 -0700 Message-ID: <4A37DA1A.8020800@oracle.com> Date: Tue, 16 Jun 2009 10:44:58 -0700 From: Randy Dunlap Organization: Oracle Linux Engineering User-Agent: Thunderbird 2.0.0.6 (X11/20070801) MIME-Version: 1.0 To: Stephen Rothwell CC: linux-next@vger.kernel.org, LKML , Corentin Chary , Len Brown , ACPI Devel Maling List Subject: [PATCH -next] eeepc: fix selects (third time) References: <20090616165923.8ca4ddcb.sfr@canb.auug.org.au> In-Reply-To: <20090616165923.8ca4ddcb.sfr@canb.auug.org.au> X-Source-IP: abhmt002.oracle.com [141.146.116.11] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A010208.4A37DAE2.0143:SCFSTAT5015188,ss=1,fgs=0 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org linux-next still fails with various pci_*() undefined references, like: ERROR: "pci_scan_slot" [drivers/pci/hotplug/cpqphp.ko] undefined! ERROR: "pci_add_new_bus" [drivers/pci/hotplug/cpqphp.ko] undefined! and drivers/pci/hotplug/fakephp.c:55: error:implicit declaration of function 'pci_rescan_bus' These are due to the eeepc driver's Kconfig selects. Patch below fixes them. --- 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' ERROR: "pci_scan_slot" [drivers/pci/hotplug/pciehp.ko] undefined! ERROR: "pci_scan_bridge" [drivers/pci/hotplug/pciehp.ko] undefined! ERROR: "pci_scan_slot" [drivers/pci/hotplug/pci_hotplug.ko] undefined! ERROR: "pci_add_new_bus" [drivers/pci/hotplug/pci_hotplug.ko] undefined! Signed-off-by: Randy Dunlap Acked-by: Corentin Chary --- drivers/platform/x86/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- linux-next-20090604.orig/drivers/platform/x86/Kconfig +++ linux-next-20090604/drivers/platform/x86/Kconfig @@ -340,7 +340,8 @@ config EEEPC_LAPTOP depends on RFKILL || RFKILL = n select BACKLIGHT_CLASS_DEVICE select HWMON - 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.