Commit f40213cd authored by Johannes Berg's avatar Johannes Berg Committed by Wolfram Sang
Browse files

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: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
parent 48e29133
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1530,7 +1530,7 @@ config I2C_XGENE_SLIMPRO

config SCx200_ACB
	tristate "Geode ACCESS.bus support"
	depends on X86_32 && PCI
	depends on X86_32 && PCI && HAS_IOPORT
	help
	  Enable the use of the ACCESS.bus controllers on the Geode SCx200 and
	  SC1100 processors and the CS5535 and CS5536 Geode companion devices.