Commit da812f15 authored by Niklas Schnelle's avatar Niklas Schnelle Committed by Greg Kroah-Hartman
Browse files

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: default avatarArnd Bergmann <arnd@kernel.org>
Signed-off-by: default avatarArnd Bergmann <arnd@kernel.org>
Signed-off-by: default avatarNiklas Schnelle <schnelle@linux.ibm.com>
Link: https://lore.kernel.org/r/20230522105049.1467313-35-schnelle@linux.ibm.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1f3413dc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
# 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
+1 −1
Original line number Diff line number Diff line
# 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.