Kconfig: introduce HAS_IOPORT option and select it as necessary
[sfrench/cifs-2.6.git] / lib / Kconfig
index ce2abffb9ed8909591f633dc39c9bc068f943e34..5c2da561c516d00a8f90e7a4554aee4416afbe74 100644 (file)
@@ -92,6 +92,7 @@ config ARCH_USE_SYM_ANNOTATIONS
 config INDIRECT_PIO
        bool "Access I/O in non-MMIO mode"
        depends on ARM64
+       depends on HAS_IOPORT
        help
          On some platforms where no separate I/O space exists, there are I/O
          hosts which can not be accessed in MMIO mode. Using the logical PIO
@@ -509,6 +510,9 @@ config HAS_IOMEM
        depends on !NO_IOMEM
        default y
 
+config HAS_IOPORT
+       bool
+
 config HAS_IOPORT_MAP
        bool
        depends on HAS_IOMEM && !NO_IOPORT_MAP