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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>
---
 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


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux