summaryrefslogtreecommitdiff
path: root/drivers/pnp/isapnp/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pnp/isapnp/Kconfig')
-rw-r--r--drivers/pnp/isapnp/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pnp/isapnp/Kconfig b/drivers/pnp/isapnp/Kconfig
index 8b5f2e461a80..8e5dec59e342 100644
--- a/drivers/pnp/isapnp/Kconfig
+++ b/drivers/pnp/isapnp/Kconfig
@@ -4,7 +4,7 @@
#
config ISAPNP
bool "ISA Plug and Play support"
- depends on ISA || COMPILE_TEST
+ depends on ISA || (HAS_IOPORT && COMPILE_TEST)
help
Say Y here if you would like support for ISA Plug and Play devices.
Some information is in <file:Documentation/userspace-api/isapnp.rst>.