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 32/38] staging: 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/staging/sm750fb/Kconfig | 2 +-
    drivers/staging/vt6655/Kconfig | 2 +-
    2 files changed, 2 insertions(+), 2 deletions(-)

    diff --git a/drivers/staging/sm750fb/Kconfig b/drivers/staging/sm750fb/Kconfig
    index 1461c89701c3..ab3d9b057d56 100644
    --- a/drivers/staging/sm750fb/Kconfig
    +++ b/drivers/staging/sm750fb/Kconfig
    @@ -1,7 +1,7 @@
    # SPDX-License-Identifier: GPL-2.0
    config FB_SM750
    tristate "Silicon Motion SM750 framebuffer support"
    - depends on FB && PCI
    + depends on FB && PCI && HAS_IOPORT
    select FB_MODE_HELPERS
    select FB_CFB_FILLRECT
    select FB_CFB_COPYAREA
    diff --git a/drivers/staging/vt6655/Kconfig b/drivers/staging/vt6655/Kconfig
    index d1cd5de46dcf..077f62ebe80c 100644
    --- a/drivers/staging/vt6655/Kconfig
    +++ b/drivers/staging/vt6655/Kconfig
    @@ -1,6 +1,6 @@
    # SPDX-License-Identifier: GPL-2.0
    config VT6655
    tristate "VIA Technologies VT6655 support"
    - depends on PCI && MAC80211 && m
    + depends on PCI && HAS_IOPORT && MAC80211 && m
    help
    This is a vendor-written driver for VIA VT6655.
    --
    2.37.2
    \
     
     \ /
      Last update: 2023-03-27 00:59    [W:4.096 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site