From: Javier Martinez Canillas Date: Tue, 17 May 2016 18:10:31 +0000 (-0700) Subject: Input: migor-ts - allow driver to build if COMPILE_TEST is enabled X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=db36ae8516ac70dd3f889f2448b6191f06f15f20;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git Input: migor-ts - allow driver to build if COMPILE_TEST is enabled 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 Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig index 1f99e7f30e27..75443bb568a6 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.