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

Input: add missing dependencies on CONFIG_HAS_IOMEM

devm_ioremap_resource() is only guaranteed to be present if
CONFIG_HAS_IOMEM is set.

Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/YCyauGyqxut69JNz@google.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

+4 -4
+2 -2
drivers/input/keyboard/Kconfig
··· 685 685 686 686 config KEYBOARD_OMAP4 687 687 tristate "TI OMAP4+ keypad support" 688 - depends on OF || ARCH_OMAP2PLUS 688 + depends on (OF && HAS_IOMEM) || ARCH_OMAP2PLUS 689 689 select INPUT_MATRIXKMAP 690 690 help 691 691 Say Y here if you want to use the OMAP4+ keypad. ··· 773 773 774 774 config KEYBOARD_BCM 775 775 tristate "Broadcom keypad driver" 776 - depends on OF && HAVE_CLK 776 + depends on OF && HAVE_CLK && HAS_IOMEM 777 777 select INPUT_MATRIXKMAP 778 778 default ARCH_BCM_CYGNUS 779 779 help
+1 -1
drivers/input/serio/Kconfig
··· 255 255 256 256 config SERIO_APBPS2 257 257 tristate "GRLIB APBPS2 PS/2 keyboard/mouse controller" 258 - depends on OF 258 + depends on OF && HAS_IOMEM 259 259 help 260 260 Say Y here if you want support for GRLIB APBPS2 peripherals used 261 261 to connect to PS/2 keyboard and/or mouse.
+1 -1
drivers/input/touchscreen/Kconfig
··· 607 607 608 608 config TOUCHSCREEN_IMX6UL_TSC 609 609 tristate "Freescale i.MX6UL touchscreen controller" 610 - depends on (OF && GPIOLIB) || COMPILE_TEST 610 + depends on ((OF && GPIOLIB) || COMPILE_TEST) && HAS_IOMEM 611 611 help 612 612 Say Y here if you have a Freescale i.MX6UL, and want to 613 613 use the internal touchscreen controller.