fdt: Rename a few functions in fdt_support
These two functions have an of_ prefix which conflicts with naming used in of_addr. Rename them: fdt_read_number fdt_support_bus_default_count_cells Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -457,8 +457,8 @@ fdt_addr_t ofnode_get_addr_size(ofnode node, const char *property,
|
||||
|
||||
na = of_n_addr_cells(np);
|
||||
ns = of_n_addr_cells(np);
|
||||
*sizep = of_read_number(prop + na, ns);
|
||||
return of_read_number(prop, na);
|
||||
*sizep = fdt_read_number(prop + na, ns);
|
||||
return fdt_read_number(prop, na);
|
||||
} else {
|
||||
return fdtdec_get_addr_size(gd->fdt_blob,
|
||||
ofnode_to_offset(node), property,
|
||||
|
||||
Reference in New Issue
Block a user