aboutsummaryrefslogtreecommitdiff
path: root/drivers/core
diff options
context:
space:
mode:
authorSimon Glass2017-05-18 20:09:26 -0600
committerSimon Glass2017-06-01 07:03:11 -0600
commiteed36609b5494b94bdca0e2bdc5ac2bd07ab2518 (patch)
tree2c28f57323a6c423b9dbc69b43c4052e71513564 /drivers/core
parent029ab15a694624f859472747acf9ed10ca57b1a8 (diff)
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>
Diffstat (limited to 'drivers/core')
-rw-r--r--drivers/core/ofnode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/core/ofnode.c b/drivers/core/ofnode.c
index ac312d65465..6805fe24247 100644
--- a/drivers/core/ofnode.c
+++ b/drivers/core/ofnode.c
@@ -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,