diff mbox series

Input: mtk-pmic-keys - allow compiling with COMPILE_TEST

Message ID YowG7BVsJTNd0ELi@google.com
State Accepted
Commit d0789070a851d0d9a688bf8cbdc6b50805e21c41
Headers show
Series Input: mtk-pmic-keys - allow compiling with COMPILE_TEST | expand

Commit Message

Dmitry Torokhov May 23, 2022, 10:13 p.m. UTC
There are no hard architecture dependencies in the driver, so to improve
compile test coverage let's enable the driver when COMPILE_TEST is
selected.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
---
 drivers/input/keyboard/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig
index 4ea79db8f134..a20ee693b22b 100644
--- a/drivers/input/keyboard/Kconfig
+++ b/drivers/input/keyboard/Kconfig
@@ -795,7 +795,7 @@  config KEYBOARD_MT6779
 
 config KEYBOARD_MTK_PMIC
 	tristate "MediaTek PMIC keys support"
-	depends on MFD_MT6397
+	depends on MFD_MT6397 || COMPILE_TEST
 	help
 	  Say Y here if you want to use the pmic keys (powerkey/homekey).