From: Jean Delvare Date: Mon, 16 Jun 2014 11:54:15 +0000 (+0200) Subject: mfd: Fix cs5535 dependencies X-Git-Tag: Ubuntu-5.13.0-19.19~19633^2~93 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=c03842d89b769db44be5cb0b1ebb384ccfa25f7f;p=mirror_ubuntu-jammy-kernel.git 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 Signed-off-by: Lee Jones --- 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.