[PATCH 2/2] mfd: superio: depend on X86 || COMPILE_TEST

Ahmad Fatoum a.fatoum at pengutronix.de
Thu Jul 2 09:29:19 EDT 2020


Super I/O chips are usually found x86 PCs. Make them depend on it,
so users of other arches aren't prompted for it, when they oldconfig.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 drivers/mfd/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 42346154e63a..d03d481898d8 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -73,12 +73,14 @@ config MFD_SUPERIO
 config FINTEK_SUPERIO
        bool "Fintek Super I/O chip"
        select MFD_SUPERIO
+       depends on X86 || COMPILE_TEST
        help
          Select this to probe for IO-port connected Fintek Super I/O chips.
 
 config SMSC_SUPERIO
        bool "SMSC Super I/O chip"
        select MFD_SUPERIO
+       depends on X86 || COMPILE_TEST
        help
          Select this to probe for IO-port connected SMSC Super I/O chips.
 
-- 
2.27.0




More information about the barebox mailing list