projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: convert (void *)devfdt_get_addr() to dev_read_addr_ptr()
[platform/kernel/u-boot.git]
/
drivers
/
mmc
/
sti_sdhci.c
diff --git
a/drivers/mmc/sti_sdhci.c
b/drivers/mmc/sti_sdhci.c
index
9bcd8ce
..
5578fee
100644
(file)
--- a/
drivers/mmc/sti_sdhci.c
+++ b/
drivers/mmc/sti_sdhci.c
@@
-116,7
+116,7
@@
static int sti_sdhci_ofdata_to_platdata(struct udevice *dev)
struct sdhci_host *host = dev_get_priv(dev);
host->name = strdup(dev->name);
- host->ioaddr =
(void *)devfdt_get_add
r(dev);
+ host->ioaddr =
dev_read_addr_pt
r(dev);
host->bus_width = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev),
"bus-width", 4);