[PATCH] soc: samsung: Add missing Kconfig dependencies for EXYNOS_CHIPID
From: Sylwester Nawrocki
Date: Wed Aug 21 2019 - 11:07:24 EST
The chipid driver uses the regmap and the MFD syscon API
but it was not covered properly in Kconfig.
Signed-off-by: Sylwester Nawrocki <s.nawrocki@xxxxxxxxxxx>
---
drivers/soc/samsung/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/soc/samsung/Kconfig b/drivers/soc/samsung/Kconfig
index 2905f5262197..a03f83492716 100644
--- a/drivers/soc/samsung/Kconfig
+++ b/drivers/soc/samsung/Kconfig
@@ -9,7 +9,7 @@ if SOC_SAMSUNG
config EXYNOS_CHIPID
bool "Exynos Chipid controller driver" if COMPILE_TEST
- depends on ARCH_EXYNOS || COMPILE_TEST
+ depends on (ARCH_EXYNOS && REGMAP && MFD_SYSCON) || COMPILE_TEST
select SOC_BUS
config EXYNOS_PMU
--
2.17.1