Skip to content

Commit 7e173eb

Browse files
superm1Ingo Molnar
authored andcommitted
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]
1 parent a79be02 commit 7e173eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/i2c/busses/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ config I2C_ISMT
200200

201201
config I2C_PIIX4
202202
tristate "Intel PIIX4 and compatible (ATI/AMD/Serverworks/Broadcom/SMSC)"
203-
depends on PCI && HAS_IOPORT
203+
depends on PCI && HAS_IOPORT && X86
204204
select I2C_SMBUS
205205
help
206206
If you say yes to this option, support will be included for the Intel

0 commit comments

Comments
 (0)