Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jean Delvare and committed by
Lee Jones
c03842d8 84c3a8f6

+1 -1
+1 -1
drivers/mfd/Kconfig
··· 13 13 config MFD_CS5535 14 14 tristate "AMD CS5535 and CS5536 southbridge core functions" 15 15 select MFD_CORE 16 - depends on PCI && X86 16 + depends on PCI && (X86_32 || (X86 && COMPILE_TEST)) 17 17 ---help--- 18 18 This is the core driver for CS5535/CS5536 MFD functions. This is 19 19 necessary for using the board's GPIO and MFGPT functionality.