From: Javier Martinez Canillas Date: Fri, 2 Oct 2015 17:49:48 +0000 (-0700) Subject: Input: goldfish - allow compile the driver with COMPILE_TEST X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=aaa59e0911f5624663217c248cfa7cc1c2e33e08;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git Input: goldfish - allow compile the driver with COMPILE_TEST The driver depends on GOLDFISH but there isn't a build dependency so it's a good idea to allow the driver to be built even if that option is disabled, if the COMPILE_TEST option is enabled. That way, the driver can be built with a config generated by make allyesconfig and can be checked if a patch would break the build. Signed-off-by: Javier Martinez Canillas Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig index 2e80107ff630..ddd8148d51d7 100644 --- a/drivers/input/keyboard/Kconfig +++ b/drivers/input/keyboard/Kconfig @@ -516,7 +516,7 @@ config KEYBOARD_SAMSUNG module will be called samsung-keypad. config KEYBOARD_GOLDFISH_EVENTS - depends on GOLDFISH + depends on GOLDFISH || COMPILE_TEST tristate "Generic Input Event device for Goldfish" help Say Y here to get an input event device for the Goldfish virtual