diff mbox

[5/5] mfd: lp3943: Add a dependency on OF

Message ID 1496760340-27959-6-git-send-email-j-keerthy@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

J, KEERTHY June 6, 2017, 2:45 p.m. UTC
Currently the driver boots only via device tree hence add a
dependency on OF.

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

Patch

diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 83d6b57..4decbfb 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -1178,7 +1178,7 @@  config MFD_DM355EVM_MSP
 
 config MFD_LP3943
 	tristate "TI/National Semiconductor LP3943 MFD Driver"
-	depends on I2C
+	depends on I2C && OF
 	select MFD_CORE
 	select REGMAP_I2C
 	help