Skip to content

Commit f40213c

Browse files
jmberg-intelWolfram Sang
authored andcommitted
i2c: scx200_acb: depends on HAS_IOPORT
It already depends on X86_32, but that's also set for ARCH=um. Recent changes made UML no longer have IO port access since it's not needed, but this driver uses it. Build it only for HAS_IOPORT. This is pretty much the same as depending on X86, but on the off-chance that HAS_IOPORT will ever be optional on x86 HAS_IOPORT is the real prerequisite. Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
1 parent 48e2913 commit f40213c

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
@@ -1530,7 +1530,7 @@ config I2C_XGENE_SLIMPRO
15301530

15311531
config SCx200_ACB
15321532
tristate "Geode ACCESS.bus support"
1533-
depends on X86_32 && PCI
1533+
depends on X86_32 && PCI && HAS_IOPORT
15341534
help
15351535
Enable the use of the ACCESS.bus controllers on the Geode SCx200 and
15361536
SC1100 processors and the CS5535 and CS5536 Geode companion devices.

0 commit comments

Comments
 (0)