scsi: message: fusion: Add HAS_IOPORT dependencies
authorNiklas Schnelle <schnelle@linux.ibm.com>
Mon, 22 May 2023 10:50:26 +0000 (12:50 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 31 May 2023 23:59:26 +0000 (19:59 -0400)
In a future patch HAS_IOPORT=n will result in inb()/outb() and friends not
being declared. We thus need to add HAS_IOPORT as dependency for those
drivers using them.

Co-developed-by: Arnd Bergmann <arnd@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@kernel.org>
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Link: https://lore.kernel.org/r/20230522105049.1467313-22-schnelle@linux.ibm.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/message/fusion/Kconfig

index a3d0288..88a6e50 100644 (file)
@@ -2,7 +2,7 @@
 
 menuconfig FUSION
        bool "Fusion MPT device support"
-       depends on PCI
+       depends on PCI && HAS_IOPORT
        help
        Say Y here to get to see options for Fusion Message
        Passing Technology (MPT) drivers.