]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i2c: scx200_acb: depends on HAS_IOPORT
authorJohannes Berg <johannes.berg@intel.com>
Fri, 6 Jun 2025 07:56:52 +0000 (09:56 +0200)
committerWolfram Sang <wsa+renesas@sang-engineering.com>
Fri, 27 Jun 2025 10:28:33 +0000 (12:28 +0200)
commitf40213cd93e608ee78b5e25db042c42ec07139fe
tree688d44a5aeb4bd94def57d88a4c41a3b06db434e
parent48e29133ae880a8f30ff098a9843d22e012350e0
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 <johannes.berg@intel.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
drivers/i2c/busses/Kconfig