aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/Kconfig
diff options
context:
space:
mode:
authorAndres Salomon <dilinger@queued.net>2011-03-28 00:26:03 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-28 10:51:42 -0400
commit15b7cf1416c0e3ae6163ade3349d717fe2729952 (patch)
tree1f06ff7b68e41b5550dffd9939e16a2f5be9ec9e /drivers/mfd/Kconfig
parent7e599e6e62759e057e902fcf9a05ba24f6155bcd (diff)
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 <sfr@canb.auug.org.au> Signed-off-by: Andres Salomon <dilinger@queued.net> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/mfd/Kconfig')
-rw-r--r--drivers/mfd/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index e986f91fff9..9a46d64996a 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -592,7 +592,7 @@ config AB3550_CORE
592config MFD_CS5535 592config MFD_CS5535
593 tristate "Support for CS5535 and CS5536 southbridge core functions" 593 tristate "Support for CS5535 and CS5536 southbridge core functions"
594 select MFD_CORE 594 select MFD_CORE
595 depends on PCI 595 depends on PCI && X86
596 ---help--- 596 ---help---
597 This is the core driver for CS5535/CS5536 MFD functions. This is 597 This is the core driver for CS5535/CS5536 MFD functions. This is
598 necessary for using the board's GPIO and MFGPT functionality. 598 necessary for using the board's GPIO and MFGPT functionality.