X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=drivers%2Fcore%2Fsimple-bus.c;h=5c955da3346b2c1ff665060100b2f875a87cbe50;hb=2e3f1ff63f50f36e74d46f939823241856ebf1bd;hp=1a9c864ef377e65334f0cf50a1e83e49be8675a2;hpb=9f56917ab88a6cf02574d0fcd92884edc517d0b4;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) = {