lkml.org 
[lkml]   [2023]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v3 19/38] mpt fusion: add HAS_IOPORT dependencies
    Date
    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: Niklas Schnelle <schnelle@linux.ibm.com>
    ---
    drivers/message/fusion/Kconfig | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/message/fusion/Kconfig b/drivers/message/fusion/Kconfig
    index a3d0288fd0e2..88a6e506a942 100644
    --- a/drivers/message/fusion/Kconfig
    +++ b/drivers/message/fusion/Kconfig
    @@ -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.
    --
    2.37.2
    \
     
     \ /
      Last update: 2023-03-27 00:59    [W:4.049 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site