summaryrefslogtreecommitdiff
path: root/drivers/core/simple-bus.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/core/simple-bus.c')
-rw-r--r--drivers/core/simple-bus.c3
1 files changed, 1 insertions, 2 deletions
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 <common.h>
#include <dm.h>
-#include <dm/root.h>
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) = {