aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/serio/Kconfig
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2021-02-19 10:39:16 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2021-02-19 11:02:18 -0800
commitb2e3543b5e193c2be802ae2db0a8ae82ec8c0f66 (patch)
treef4cd4791e7f8a713b183cfd359ac8f12604a88a8 /drivers/input/serio/Kconfig
parentInput: joydev - prevent potential read overflow in ioctl (diff)
downloadlinux-dev-b2e3543b5e193c2be802ae2db0a8ae82ec8c0f66.tar.xz
linux-dev-b2e3543b5e193c2be802ae2db0a8ae82ec8c0f66.zip
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>
Diffstat (limited to 'drivers/input/serio/Kconfig')
-rw-r--r--drivers/input/serio/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/serio/Kconfig b/drivers/input/serio/Kconfig
index 0754744b9ce5..f39b7b3f7942 100644
--- a/drivers/input/serio/Kconfig
+++ b/drivers/input/serio/Kconfig
@@ -255,7 +255,7 @@ config SERIO_ARC_PS2
config SERIO_APBPS2
tristate "GRLIB APBPS2 PS/2 keyboard/mouse controller"
- depends on OF
+ depends on OF && HAS_IOMEM
help
Say Y here if you want support for GRLIB APBPS2 peripherals used
to connect to PS/2 keyboard and/or mouse.