summaryrefslogtreecommitdiffstats
path: root/drivers/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-04-08 12:49:33 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-04-29 08:01:32 +0200
commit485788954c1c4be5f64be143228fc54ec41c00f0 (patch)
tree7f2f7034af557314ceced91bd6ed7a75af33456f /drivers/Makefile
parent0af79fbb6779921d3f1962773adb7fb57d3c89d4 (diff)
downloadbarebox-485788954c1c4be5f64be143228fc54ec41c00f0.tar.gz
barebox-485788954c1c4be5f64be143228fc54ec41c00f0.tar.xz
Add initial regulator support
Provide minimal regulator support. Only supported operations are enabling and disabling regulators. Association of devices with their regulators is limited to devicetree only. If regulator support is disabled the API expands to static inline stubs so consumers can still use the API. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/Makefile')
-rw-r--r--drivers/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/Makefile b/drivers/Makefile
index ba1dc6df76..f79da89e94 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -24,3 +24,4 @@ obj-$(CONFIG_OFTREE) += of/
obj-$(CONFIG_W1) += w1/
obj-y += pinctrl/
obj-y += bus/
+obj-$(CONFIG_REGULATOR) += regulator/