Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1403852

Re: [PATCH 1/2] Input: migor-ts - allow driver to build if COMPILE_TEST is enabled

From Dmitry Torokhov <dmitry.torokhov@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] Input: migor-ts - allow driver to build if COMPILE_TEST is enabled
Date 2016-05-19 18:40 +0200
Message-ID <rAz9o-2ay-31@gated-at.bofh.it> (permalink)
References <rzQch-6VD-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, May 17, 2016 at 12:32:37PM -0400, Javier Martinez Canillas wrote:
> The driver only has runtime but no build time dependency with SH_MIGOR, so
> it can be built for testing purposes if the COMPILE_TEST option is enabled.
> 
> This is useful to have more build coverage and make sure that drivers are
> not affected by changes that could cause build regressions.
> 
> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>

Applied, thank you.

> ---
> 
>  drivers/input/touchscreen/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig
> index 8ecdc38fd489..9f6f001ccf07 100644
> --- a/drivers/input/touchscreen/Kconfig
> +++ b/drivers/input/touchscreen/Kconfig
> @@ -632,7 +632,7 @@ config TOUCHSCREEN_EDT_FT5X06
>  
>  config TOUCHSCREEN_MIGOR
>  	tristate "Renesas MIGO-R touchscreen"
> -	depends on SH_MIGOR && I2C
> +	depends on (SH_MIGOR || COMPILE_TEST) && I2C
>  	help
>  	  Say Y here to enable MIGO-R touchscreen support.
>  
> -- 
> 2.5.5
> 

-- 
Dmitry

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] Input: migor-ts - allow driver to build if COMPILE_TEST is enabled Javier Martinez Canillas <javier@osg.samsung.com> - 2016-05-17 18:40 +0200
  [PATCH 2/2] Input: migor-ts - fix error for modular build Javier Martinez Canillas <javier@osg.samsung.com> - 2016-05-17 18:40 +0200
    Re: [PATCH 2/2] Input: migor-ts - fix error for modular build Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2016-05-19 18:40 +0200
  Re: [PATCH 1/2] Input: migor-ts - allow driver to build if  COMPILE_TEST is enabled Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2016-05-19 18:40 +0200

csiph-web