summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/Kconfig
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-02-19 16:35:03 +0800
committerMark Brown <broonie@linaro.org>2014-02-19 21:18:58 +0900
commit948838a10ad24afea3229957b6f02f8587a569e0 (patch)
tree26ba2301e3581374859f76c29c1b20d8458ea0c2 /drivers/regulator/Kconfig
parent413be59e2f33382305876b17f218666d03cf3aac (diff)
downloadlinux-948838a10ad24afea3229957b6f02f8587a569e0.tar.bz2
regulator: tps65218: Add OF dependency
This is a DT-only driver, so make it depend on OF and remove of_match_ptr in the code. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/regulator/Kconfig')
-rw-r--r--drivers/regulator/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index b05da8803bd1..b7c95e8d8a0e 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -515,7 +515,7 @@ config REGULATOR_TPS65217
config REGULATOR_TPS65218
tristate "TI TPS65218 Power regulators"
- depends on MFD_TPS65218
+ depends on MFD_TPS65218 && OF
help
This driver supports TPS65218 voltage regulator chips. TPS65218
provides six step-down converters and one general-purpose LDO