Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755983AbYKKMXz (ORCPT ); Tue, 11 Nov 2008 07:23:55 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755465AbYKKMXq (ORCPT ); Tue, 11 Nov 2008 07:23:46 -0500 Received: from ns2.suse.de ([195.135.220.15]:35696 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755080AbYKKMXq (ORCPT ); Tue, 11 Nov 2008 07:23:46 -0500 Date: Tue, 11 Nov 2008 13:23:44 +0100 Message-ID: From: Takashi Iwai To: Ingo Molnar Cc: Thomas Gleixner , Jordan Crouse , Andres Salomon , linux-kernel@vger.kernel.org Subject: [PATCH] x86 - Make CONFIG_OLPC dependent on CONFIG_MGEODE_LX User-Agent: Wanderlust/2.12.0 (Your Wildest Dreams) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 Emacs/22.3 (x86_64-suse-linux-gnu) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 883 Lines: 29 The OLPC-specpfic codes require geode_gpio_*() functions although these functions are defined only with CONFIG_MGEODE_LX=y. Add a proper dependency to fix build errors. Signed-off-by: Takashi Iwai --- arch/x86/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 4cf0ab1..21f9a6d 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -1842,6 +1842,7 @@ config GEODE_MFGPT_TIMER config OLPC bool "One Laptop Per Child support" + depends on MGEODE_LX default n help Add support for detecting the unique features of the OLPC -- 1.6.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/