[tip: x86/platform] i2c: piix4: Make CONFIG_I2C_PIIX4 dependent on CONFIG_X86
From: tip-bot2 for Mario Limonciello
Date: Thu Apr 24 2025 - 12:24:54 EST
The following commit has been merged into the x86/platform branch of tip:
Commit-ID: 0e695391f0a33490d8faa5b5e750069230a14c78
Gitweb: https://git.kernel.org/tip/0e695391f0a33490d8faa5b5e750069230a14c78
Author: Mario Limonciello <mario.limonciello@xxxxxxx>
AuthorDate: Tue, 22 Apr 2025 18:48:27 -05:00
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
CommitterDate: Thu, 24 Apr 2025 17:55:18 +02:00
i2c: piix4: Make CONFIG_I2C_PIIX4 dependent on CONFIG_X86
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@xxxxxxxxxx>
Signed-off-by: Mario Limonciello <mario.limonciello@xxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
Cc: Andi Shyti <andi.shyti@xxxxxxxxxx>
Cc: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Cc: H. Peter Anvin <hpa@xxxxxxxxx>
Cc: Sanket Goswami <Sanket.Goswami@xxxxxxx>
Cc: Shyam Sundar S K <Shyam-sundar.S-k@xxxxxxx>
Cc: Yazen Ghannam <yazen.ghannam@xxxxxxx>
Cc: linux-i2c@xxxxxxxxxxxxxxx
Link: https://lore.kernel.org/r/20250422234830.2840784-3-superm1@xxxxxxxxxx
---
drivers/i2c/busses/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index 83c88c7..bbbd624 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -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