diff options
author | Simon Glass | 2017-05-18 20:09:26 -0600 |
---|---|---|
committer | Simon Glass | 2017-06-01 07:03:11 -0600 |
commit | eed36609b5494b94bdca0e2bdc5ac2bd07ab2518 (patch) | |
tree | 2c28f57323a6c423b9dbc69b43c4052e71513564 /drivers/net/altera_tse.c | |
parent | 029ab15a694624f859472747acf9ed10ca57b1a8 (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/net/altera_tse.c')
-rw-r--r-- | drivers/net/altera_tse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/altera_tse.c b/drivers/net/altera_tse.c index d4d17dd2226..fb878d4e636 100644 --- a/drivers/net/altera_tse.c +++ b/drivers/net/altera_tse.c @@ -595,7 +595,7 @@ static int altera_tse_probe(struct udevice *dev) * match with reg-names. */ parent = fdt_parent_offset(blob, node); - of_bus_default_count_cells(blob, parent, &addrc, &sizec); + fdt_support_default_count_cells(blob, parent, &addrc, &sizec); list = fdt_getprop(blob, node, "reg-names", &len); if (!list) return -ENOENT; |