]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dm: core: make simple-bus compatible to simple-mfd
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 1 Mar 2016 02:51:48 +0000 (11:51 +0900)
committerSimon Glass <sjg@chromium.org>
Mon, 14 Mar 2016 21:34:50 +0000 (15:34 -0600)
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>
drivers/core/simple-bus.c

index 913c3ccc70b6a06c22f6e25b4a58eff3874efeaf..1a9c864ef377e65334f0cf50a1e83e49be8675a2 100644 (file)
@@ -53,6 +53,7 @@ UCLASS_DRIVER(simple_bus) = {
 
 static const struct udevice_id generic_simple_bus_ids[] = {
        { .compatible = "simple-bus" },
+       { .compatible = "simple-mfd" },
        { }
 };