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

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

Niklas Schnelle and committed by
Greg Kroah-Hartman
1fbb0b20 ab7f17fb

+2 -1
+2 -1
drivers/char/Kconfig
··· 34 34 config PRINTER 35 35 tristate "Parallel printer support" 36 36 depends on PARPORT 37 + depends on HAS_IOPORT || PARPORT_NOT_PC 37 38 help 38 39 If you intend to attach a printer to the parallel port of your Linux 39 40 box (as opposed to using a serial printer; if the connector at the ··· 341 340 342 341 config DEVPORT 343 342 bool "/dev/port character device" 344 - depends on ISA || PCI 343 + depends on HAS_IOPORT 345 344 default y 346 345 help 347 346 Say Y here if you want to support the /dev/port device. The /dev/port