From: Andres Salomon Date: Mon, 28 Mar 2011 04:26:03 +0000 (-0700) Subject: MFD: allow cs5535-mfd to build on X86 only X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=15b7cf1416c0e3ae6163ade3349d717fe2729952;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git MFD: allow cs5535-mfd to build on X86 only Stephen ran into the following build error: drivers/mfd/cs5535-mfd.c:30:22: error: asm/olpc.h: No such file or directory olpc.h exists only on x86 (and in the future, ARM). Rather than wrapping the include in an #ifdef, just change cs5535-mfd to only build on x86. Reported-by: Stephen Rothwell Signed-off-by: Andres Salomon Signed-off-by: Linus Torvalds --- diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index e986f91fff9c..9a46d64996a9 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -592,7 +592,7 @@ config AB3550_CORE config MFD_CS5535 tristate "Support for CS5535 and CS5536 southbridge core functions" select MFD_CORE - depends on PCI + depends on PCI && X86 ---help--- This is the core driver for CS5535/CS5536 MFD functions. This is necessary for using the board's GPIO and MFGPT functionality.