summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/Kconfig
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2015-01-13 07:33:09 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-02-04 15:49:59 +0100
commit515fefa8a582d8705770e5b8d592fbaae5e7a4b8 (patch)
tree28077fe97aeff71201e7feb26bedd08758cb6cbc /drivers/regulator/Kconfig
parent22f4e94010968a28cb9522a713786839985675ba (diff)
downloadbarebox-515fefa8a582d8705770e5b8d592fbaae5e7a4b8.tar.gz
regulator: allow to use it with non DT device
this will use the device name as regulator name with the same Algo as clkdev for lookup Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
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 493b18a..4085b3f 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -1,5 +1,4 @@
menuconfig REGULATOR
- depends on OFDEVICE
bool "voltage regulator support"
if REGULATOR
@@ -7,6 +6,7 @@ if REGULATOR
config REGULATOR_FIXED
bool "fixed/gpio regulator"
depends on GENERIC_GPIO
+ depends on OFDEVICE
help
This enables a simple fixed regulator. It is used for regulators
which are not software controllable or controllable via gpio.