]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
i2c: piix4: Make CONFIG_I2C_PIIX4 dependent on CONFIG_X86
authorMario Limonciello <mario.limonciello@amd.com>
Tue, 22 Apr 2025 23:48:27 +0000 (18:48 -0500)
committerIngo Molnar <mingo@kernel.org>
Sat, 26 Apr 2025 09:40:46 +0000 (11:40 +0200)
PIIX4 and compatible controllers are only for X86. As some headers are
being moved into x86 specific headers PIIX4 won't compile on non-x86.

Suggested-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Andi Shyti <andi.shyti@kernel.org>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Sanket Goswami <Sanket.Goswami@amd.com>
Cc: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Cc: Yazen Ghannam <yazen.ghannam@amd.com>
Cc: linux-i2c@vger.kernel.org
Link: https://lore.kernel.org/r/20250422234830.2840784-3-superm1@kernel.org
drivers/i2c/busses/Kconfig

index 83c88c79afe20f3589ee073431a6366995fd13b9..bbbd6240fa6ed8a134447231069bbcdbb9d49fab 100644 (file)
@@ -200,7 +200,7 @@ config I2C_ISMT
 
 config I2C_PIIX4
        tristate "Intel PIIX4 and compatible (ATI/AMD/Serverworks/Broadcom/SMSC)"
-       depends on PCI && HAS_IOPORT
+       depends on PCI && HAS_IOPORT && X86
        select I2C_SMBUS
        help
          If you say yes to this option, support will be included for the Intel