regulator: ti-abb: Kconfig: Add helper dependency on COMPILE_TEST
authorCai Huoqing <caihuoqing@baidu.com>
Wed, 8 Sep 2021 10:57:37 +0000 (18:57 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 13 Sep 2021 00:59:23 +0000 (01:59 +0100)
COMPILE_TEST is helpful to find compilation errors in other platform(e.g.X86).
In this case, the support of COMPILE_TEST is added, so this module could
be compiled in other platform(e.g.X86), without ARCH_SYNQUACER configuration.

Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Link: https://lore.kernel.org/r/20210908105738.1933-1-caihuoqing@baidu.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/Kconfig

index 4fd13b0..e35cca5 100644 (file)
@@ -1181,7 +1181,7 @@ config REGULATOR_STPMIC1
 
 config REGULATOR_TI_ABB
        tristate "TI Adaptive Body Bias on-chip LDO"
-       depends on ARCH_OMAP
+       depends on ARCH_OMAP || COMPILE_TEST
        help
          Select this option to support Texas Instruments' on-chip Adaptive Body
          Bias (ABB) LDO regulators. It is recommended that this option be