[PATCH] x86 - Make CONFIG_OLPC dependent on CONFIG_MGEODE_LX

From: Takashi Iwai
Date: Tue Nov 11 2008 - 07:23:57 EST


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 <tiwai@xxxxxxx>
---
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/