diff mbox series

input: keyboard: imx_keypad: add COMPILE_TEST support

Message ID 1583137573-16628-1-git-send-email-Anson.Huang@nxp.com (mailing list archive)
State Accepted
Headers show
Series input: keyboard: imx_keypad: add COMPILE_TEST support | expand

Commit Message

Anson Huang March 2, 2020, 8:26 a.m. UTC
Add COMPILE_TEST support to imx_keypad driver for better compile
testing coverage.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
 drivers/input/keyboard/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Dmitry Torokhov Dec. 11, 2020, 6:02 a.m. UTC | #1
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 <Anson.Huang@nxp.com>

Applied, thank you.
diff mbox series

Patch

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.