Input: imx_keypad - add dependency on HAS_IOMEM
Subsystems (2)
Dmitry Torokhov
maintainerPATCH 1/1 Input: imx_keypad - add dependency on HAS_IOMEM
devm_platform_ioremap_resource() depends on CONFIG_HAS_IOMEM, so let's add it to the dependencies when COMPILE_TEST is enabled.
Reported-by kernel test robot <[email protected]>
Fixes c8834032ffe2 ("Input: imx_keypad - add COMPILE_TEST support")
Signed-off-by Dmitry Torokhov <[email protected]>
--- drivers/input/keyboard/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/input/keyboard/Kconfig +1 -1
@@ -446,7 +446,7 @@ config KEYBOARD_MPR121 config KEYBOARD_SNVS_PWRKEY tristate "IMX SNVS Power Key Driver" - depends on ARCH_MXC || COMPILE_TEST + depends on ARCH_MXC || (COMPILE_TEST && HAS_IOMEM) depends on OF help This is the snvs powerkey driver for the Freescale i.MX application
Signature · 5 lines
2.29.2.729.g45daf8777d-goog -- Dmitry