diff options
author | Simon Glass <sjg@chromium.org> | 2020-11-28 17:50:10 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-12-13 07:58:18 -0700 |
commit | 8ee05b5f903bdfb0c4c2d578fd0172ecb900e3e2 (patch) | |
tree | c186588e46e2aeec8608b8fa4d9f6ff3f2075ff1 /include | |
parent | 725e4fce61e5b8339fdc975b01ce7bb3dd9fa5f4 (diff) | |
download | u-boot-8ee05b5f903bdfb0c4c2d578fd0172ecb900e3e2.tar.gz u-boot-8ee05b5f903bdfb0c4c2d578fd0172ecb900e3e2.tar.xz u-boot-8ee05b5f903bdfb0c4c2d578fd0172ecb900e3e2.zip |
dm: core: Drop unused parameter from dm_extended_scan_fdt()
This doesn't need to be passed the devicetree anymore. Drop it.
Also rename the function to drop the _fdt suffix.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/dm/root.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/dm/root.h b/include/dm/root.h index e277ebb952..830e31312d 100644 --- a/include/dm/root.h +++ b/include/dm/root.h @@ -54,18 +54,17 @@ int dm_scan_platdata(bool pre_reloc_only); int dm_scan_fdt(bool pre_reloc_only); /** - * dm_extended_scan_fdt() - Scan the device tree and bind drivers + * dm_extended_scan() - Scan the device tree and bind drivers * * This calls dm_scna_dft() which scans the device tree and creates a driver * for each node. the top-level subnodes are examined and also all sub-nodes * of "clocks" node. * - * @blob: Pointer to device tree blob * @pre_reloc_only: If true, bind only nodes with special devicetree properties, * or drivers with the DM_FLAG_PRE_RELOC flag. If false bind all drivers. * @return 0 if OK, -ve on error */ -int dm_extended_scan_fdt(const void *blob, bool pre_reloc_only); +int dm_extended_scan(bool pre_reloc_only); /** * dm_scan_other() - Scan for other devices |