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 <[email protected]>
Signed-off-by: Mario Limonciello <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Acked-by: Andi Shyti <[email protected]>
Cc: Andy Shevchenko <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Sanket Goswami <[email protected]>
Cc: Shyam Sundar S K <[email protected]>
Cc: Yazen Ghannam <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
This commit is contained in:
Mario Limonciello authored and Ingo Molnar committed 2025-04-26 11:40:46 +02:00
1 parent a79be02bba
commit 7e173eb82a
1 file changed
+1 -1
+1 -1
View 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