X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=drivers%2Fcore%2Fsimple-bus.c;h=5c955da3346b2c1ff665060100b2f875a87cbe50;hb=22120f11e2e6951c8ae8c90fe9f896a1c8a3d313;hp=1a9c864ef377e65334f0cf50a1e83e49be8675a2;hpb=e6de55ec5bf306df3b3cc8e7a4cc17fa1e78ca6c;p=u-boot diff --git a/drivers/core/simple-bus.c b/drivers/core/simple-bus.c index 1a9c864ef3..5c955da334 100644 --- a/drivers/core/simple-bus.c +++ b/drivers/core/simple-bus.c @@ -6,7 +6,6 @@ #include #include -#include DECLARE_GLOBAL_DATA_PTR; @@ -41,7 +40,7 @@ static int simple_bus_post_bind(struct udevice *dev) plat->size = cell[2]; } - return dm_scan_fdt_node(dev, gd->fdt_blob, dev->of_offset, false); + return dm_scan_fdt_dev(dev); } UCLASS_DRIVER(simple_bus) = {