2020-03-02 08:34:02

by Anson Huang

[permalink] [raw]
Subject: [PATCH] input: keyboard: imx_keypad: add COMPILE_TEST support

Add COMPILE_TEST support to imx_keypad driver for better compile
testing coverage.

Signed-off-by: Anson Huang <[email protected]>
---
drivers/input/keyboard/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig
index 4706ff0..9709137 100644
--- a/drivers/input/keyboard/Kconfig
+++ b/drivers/input/keyboard/Kconfig
@@ -457,7 +457,7 @@ config KEYBOARD_SNVS_PWRKEY

config KEYBOARD_IMX
tristate "IMX keypad support"
- depends on ARCH_MXC
+ depends on ARCH_MXC || COMPILE_TEST
select INPUT_MATRIXKMAP
help
Enable support for IMX keypad port.
--
2.7.4


2020-12-12 04:40:01

by Dmitry Torokhov

[permalink] [raw]
Subject: Re: [PATCH] input: keyboard: imx_keypad: add COMPILE_TEST support

On Mon, Mar 02, 2020 at 04:26:13PM +0800, Anson Huang wrote:
> Add COMPILE_TEST support to imx_keypad driver for better compile
> testing coverage.
>
> Signed-off-by: Anson Huang <[email protected]>

Applied, thank you.

--
Dmitry