From: Luis de Bethencourt Date: Mon, 12 Oct 2015 16:27:08 +0000 (+0100) Subject: regulator: stw481x: compile on COMPILE_TEST X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4049dc1a43d1530eb462ec42201335e7b0439a80;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git regulator: stw481x: compile on COMPILE_TEST The driver depends on MFD_STW481X but there isn't a build dependency so it's a good idea to allow the driver to always be built when the COMPILE_TEST option is enabled. That way, the driver can be built with a config generated by make allyesconfig and check if a patch would break the build. Signed-off-by: Luis de Bethencourt Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig index 64bccff557be..8df0b0e62976 100644 --- a/drivers/regulator/Kconfig +++ b/drivers/regulator/Kconfig @@ -627,7 +627,7 @@ config REGULATOR_TI_ABB config REGULATOR_STW481X_VMMC bool "ST Microelectronics STW481X VMMC regulator" - depends on MFD_STW481X + depends on MFD_STW481X || COMPILE_TEST default y if MFD_STW481X help This driver supports the internal VMMC regulator in the STw481x