summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-11-29 03:50:10 +0300
committerSimon Glass <sjg@chromium.org>2020-12-13 17:58:18 +0300
commit8ee05b5f903bdfb0c4c2d578fd0172ecb900e3e2 (patch)
treec186588e46e2aeec8608b8fa4d9f6ff3f2075ff1 /include
parent725e4fce61e5b8339fdc975b01ce7bb3dd9fa5f4 (diff)
downloadu-boot-8ee05b5f903bdfb0c4c2d578fd0172ecb900e3e2.tar.xz
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.h5
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