Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: add HAS_IOPORT dependencies

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-35-schnelle@linux.ibm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Niklas Schnelle and committed by
Greg Kroah-Hartman
da812f15 1f3413dc

+2 -2
+1 -1
drivers/staging/sm750fb/Kconfig
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 config FB_SM750 3 3 tristate "Silicon Motion SM750 framebuffer support" 4 - depends on FB && PCI 4 + depends on FB && PCI && HAS_IOPORT 5 5 select FB_MODE_HELPERS 6 6 select FB_CFB_FILLRECT 7 7 select FB_CFB_COPYAREA
+1 -1
drivers/staging/vt6655/Kconfig
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 config VT6655 3 3 tristate "VIA Technologies VT6655 support" 4 - depends on PCI && MAC80211 && m 4 + depends on PCI && HAS_IOPORT && MAC80211 && m 5 5 help 6 6 This is a vendor-written driver for VIA VT6655.