Files
linux/drivers/misc/altera-stapl/Makefile
T
Niklas Schnelle 128f20c018 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 <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Niklas Schnelle <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2023-05-29 15:05:00 +01:00

6 lines
190 B
Makefile

# SPDX-License-Identifier: GPL-2.0-only
altera-stapl-y = altera-jtag.o altera-comp.o altera.o
altera-stapl-$(CONFIG_HAS_IOPORT) += altera-lpt.o
obj-$(CONFIG_ALTERA_STAPL) += altera-stapl.o