[RFT 1/4] mfd: max14577: Explicitly depend on OF

From: Krzysztof Kozlowski
Date: Fri Feb 17 2017 - 15:03:32 EST


max14577 family of drivers are used only on Exynos-based ARMv7 boards
which all were converted to DeviceTree long time ago. Driver still
supports board-file initialization but it is going to be removed thus
dependency on OF has to be marked explicitly.

Signed-off-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
---
drivers/mfd/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 55ecdfb74d31..ca196bd48ff2 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -572,6 +572,7 @@ config MFD_88PM860X
config MFD_MAX14577
tristate "Maxim Semiconductor MAX14577/77836 MUIC + Charger Support"
depends on I2C
+ depends on OF || COMPILE_TEST
select MFD_CORE
select REGMAP_I2C
select REGMAP_IRQ
--
2.9.3