From patchwork Tue Jun 16 19:28:43 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Chary X-Patchwork-Id: 30660 X-Patchwork-Delegate: lenb@kernel.org 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 n5GJVQiI004683 for ; Tue, 16 Jun 2009 19:31:29 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751995AbZFPTbZ (ORCPT ); Tue, 16 Jun 2009 15:31:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753623AbZFPTbY (ORCPT ); Tue, 16 Jun 2009 15:31:24 -0400 Received: from iksaif.net ([88.191.73.63]:60964 "EHLO iksaif.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751995AbZFPTbX (ORCPT ); Tue, 16 Jun 2009 15:31:23 -0400 Received: from localhost.localdomain (cxr69-11-88-180-139-205.fbx.proxad.net [88.180.139.205]) (Authenticated sender: corentincj@iksaif.net) by iksaif.net (Postfix) with ESMTPA id 4F8B6C90025; Tue, 16 Jun 2009 21:33:52 +0200 (CEST) From: Corentin Chary To: lenb@kernel.org Cc: linux-acpi@vger.kernel.org, Randy Dunlap Subject: [PATCH 02/15] eeepc: fix kconfig selects Date: Tue, 16 Jun 2009 21:28:43 +0200 Message-Id: <1245180536-28009-3-git-send-email-corentincj@iksaif.net> X-Mailer: git-send-email 1.6.3.1 In-Reply-To: <1245180536-28009-2-git-send-email-corentincj@iksaif.net> References: <1245180536-28009-1-git-send-email-corentincj@iksaif.net> <1245180536-28009-2-git-send-email-corentincj@iksaif.net> Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org 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 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index afbe441..db299e1 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig @@ -341,7 +341,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.