summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2014-06-16 13:54:15 +0200
committerLee Jones <lee.jones@linaro.org>2014-07-09 15:57:59 +0200
commitc03842d89b769db44be5cb0b1ebb384ccfa25f7f (patch)
tree2f4d026430397d42d343d90ba0a4945660936d90 /drivers/mfd
parentmfd: timberdale: Depend on X86_32 (diff)
downloadlinux-c03842d89b769db44be5cb0b1ebb384ccfa25f7f.tar.xz
linux-c03842d89b769db44be5cb0b1ebb384ccfa25f7f.zip
mfd: Fix cs5535 dependencies
As far as I know, the CS5535 and CS5536 chipsets are companions of the Geode series of processors, which are 32-bit only. So the CS5535 drivers are not needed on x86-64, except for build testing purpose. This aligns the dependencies to what FB_GEODE already uses. Signed-off-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index eae9e10ea5f6..207c433074af 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -13,7 +13,7 @@ config MFD_CORE
config MFD_CS5535
tristate "AMD CS5535 and CS5536 southbridge core functions"
select MFD_CORE
- depends on PCI && X86
+ depends on PCI && (X86_32 || (X86 && COMPILE_TEST))
---help---
This is the core driver for CS5535/CS5536 MFD functions. This is
necessary for using the board's GPIO and MFGPT functionality.