All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Input: mtk-pmic-keys - allow compiling with COMPILE_TEST
@ 2022-05-23 22:13 Dmitry Torokhov
  2022-05-24  7:09 ` Mattijs Korpershoek
  0 siblings, 1 reply; 2+ messages in thread
From: Dmitry Torokhov @ 2022-05-23 22:13 UTC (permalink / raw)
  To: linux-input; +Cc: Mattijs Korpershoek, AngeloGioacchino Del Regno, linux-kernel

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 --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).
 
-- 
2.36.1.124.g0e6072fb45-goog


-- 
Dmitry

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Input: mtk-pmic-keys - allow compiling with COMPILE_TEST
  2022-05-23 22:13 [PATCH] Input: mtk-pmic-keys - allow compiling with COMPILE_TEST Dmitry Torokhov
@ 2022-05-24  7:09 ` Mattijs Korpershoek
  0 siblings, 0 replies; 2+ messages in thread
From: Mattijs Korpershoek @ 2022-05-24  7:09 UTC (permalink / raw)
  To: Dmitry Torokhov, linux-input; +Cc: AngeloGioacchino Del Regno, linux-kernel

On lun., mai 23, 2022 at 15:13, Dmitry Torokhov <dmitry.torokhov@gmail.com> wrote:

> 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>

Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>

> ---
>  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 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).
>  
> -- 
> 2.36.1.124.g0e6072fb45-goog
>
>
> -- 
> Dmitry

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-24  7:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-23 22:13 [PATCH] Input: mtk-pmic-keys - allow compiling with COMPILE_TEST Dmitry Torokhov
2022-05-24  7:09 ` Mattijs Korpershoek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.