[PATCH] cs553x: fix build dependency problems

From: Randy Dunlap
Date: Sat Apr 18 2009 - 23:34:12 EST


Andres, how does this look to you?

It fixes the problems that I know about.



From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

Fix multiple build errors due to cs553x-gpio using GPIO APIs
and using PCI APIs.

Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
---
arch/x86/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

--- mmotm-2009-0417-1519.orig/arch/x86/Kconfig
+++ mmotm-2009-0417-1519/arch/x86/Kconfig
@@ -1969,7 +1969,8 @@ config GEODE_MFGPT_TIMER

config OLPC
bool "One Laptop Per Child support"
- select GPIO_CS553X
+ select GPIO_CS553X if PCI
+ select GPIOLIB if PCI
default n
---help---
Add support for detecting the unique features of the OLPC
--
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/