regulator: tps6586x: add dependancy on MFD_TPS6585x
Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index 93bf5fe..172951b 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -231,7 +231,7 @@
config REGULATOR_TPS6586X
tristate "TI TPS6586X Power regulators"
- depends on I2C
+ depends on MFD_TPS6586X
help
This driver supports TPS6586X voltage regulator chips.