OSDN Git Service

misc: add HAS_IOPORT dependencies
authorNiklas Schnelle <schnelle@linux.ibm.com>
Tue, 16 May 2023 11:00:13 +0000 (13:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 May 2023 14:05:00 +0000 (15:05 +0100)
commit128f20c018661439dca8afa523ac066e1a4210ad
tree5699a5c2f96ef5bd371b4c5972ca7b954475a8a7
parentf050bb8f56c6417c0f7ec18d32e709a9c97b57d4
misc: 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/20230516110038.2413224-18-schnelle@linux.ibm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/altera-stapl/Makefile
drivers/misc/altera-stapl/altera.c