clk/ti/clk.c is compiled when ARCH_OMAP2PLUS is set and uses regmap
functions. Add REGMAP dependency to prevent linking errors when CLK_TI_*
options are enabled.

Signed-off-by: Markus Schneider-Pargmann (TI.com) <[email protected]>
---
 arch/arm/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 
3db5474a05b8c08e111e8c8b98c3a6fe68de15f2..c72821ce2131e9d9deebef4fce3757fc68bd9f3f
 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -844,6 +844,7 @@ config ARCH_OMAP2PLUS
        bool "TI OMAP2+"
        select CPU_V7A
        select GPIO_EXTRA_HEADER
+       select REGMAP
        select SPL_SOC_INIT if SPL
        select SPL_STACK_R if SPL
        select SUPPORT_SPL

-- 
2.51.0

Reply via email to