summaryrefslogtreecommitdiffstats
path: root/drivers/core
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-03-01 11:51:48 +0900
committerSimon Glass <sjg@chromium.org>2016-03-14 15:34:50 -0600
commit9f56917ab88a6cf02574d0fcd92884edc517d0b4 (patch)
treeadec35c18a590a27c22feda2adc97482c2b0e995 /drivers/core
parent3f603cbbb8e175e545d6037a783e1ef82bab30f9 (diff)
downloadblackbird-obmc-uboot-9f56917ab88a6cf02574d0fcd92884edc517d0b4.tar.gz
blackbird-obmc-uboot-9f56917ab88a6cf02574d0fcd92884edc517d0b4.zip
dm: core: make simple-bus compatible to simple-mfd
Simple MFD devices can bind children without special bus configuration. Like Linux, let's handle "simple-mfd" in the same way as "simple-bus". Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/core')
-rw-r--r--drivers/core/simple-bus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/core/simple-bus.c b/drivers/core/simple-bus.c
index 913c3ccc70..1a9c864ef3 100644
--- a/drivers/core/simple-bus.c
+++ b/drivers/core/simple-bus.c
@@ -53,6 +53,7 @@ UCLASS_DRIVER(simple_bus) = {
static const struct udevice_id generic_simple_bus_ids[] = {
{ .compatible = "simple-bus" },
+ { .compatible = "simple-mfd" },
{ }
};
OpenPOWER on IntegriCloud