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.

counter: add HAS_IOPORT_MAP dependency

The 104_QUAD_8 counter driver uses devm_ioport_map() without depending
on HAS_IOPORT_MAP. This means the driver is not usable on platforms such
as s390 which do not support I/O port mapping. Add the missing
HAS_IOPORT_MAP dependency to make this explicit.

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

authored by

Niklas Schnelle and committed by
Greg Kroah-Hartman
67d91a1e b5c75b68

+1
+1
drivers/counter/Kconfig
··· 15 15 config 104_QUAD_8 16 16 tristate "ACCES 104-QUAD-8 driver" 17 17 depends on (PC104 && X86) || COMPILE_TEST 18 + depends on HAS_IOPORT_MAP 18 19 select ISA_BUS_API 19 20 help 20 21 Say yes here to build support for the ACCES 104-QUAD-8 quadrature