Currently the driver boots only via device tree hence add a
dependency on OF.

Signed-off-by: Keerthy <j-keer...@ti.com>
---
 drivers/mfd/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index b845d28..75b59f1 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -1327,7 +1327,7 @@ config MFD_TI_LP873X
 
 config MFD_TPS65218
        tristate "TI TPS65218 Power Management chips"
-       depends on I2C
+       depends on I2C && OF
        select MFD_CORE
        select REGMAP_I2C
        select REGMAP_IRQ
-- 
1.9.1

Reply via email to