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 devfdt_get_addr() to dev_read_addr()
[platform/kernel/u-boot.git]
/
drivers
/
usb
/
host
/
xhci-mvebu.c
diff --git
a/drivers/usb/host/xhci-mvebu.c
b/drivers/usb/host/xhci-mvebu.c
index
5fb7484
..
f2e338f
100644
(file)
--- a/
drivers/usb/host/xhci-mvebu.c
+++ b/
drivers/usb/host/xhci-mvebu.c
@@
-72,7
+72,7
@@
static int xhci_usb_ofdata_to_platdata(struct udevice *dev)
/*
* Get the base address for XHCI controller from the device node
*/
/*
* Get the base address for XHCI controller from the device node
*/
- plat->hcd_base = dev
fdt_get
_addr(dev);
+ plat->hcd_base = dev
_read
_addr(dev);
if (plat->hcd_base == FDT_ADDR_T_NONE) {
debug("Can't get the XHCI register base address\n");
return -ENXIO;
if (plat->hcd_base == FDT_ADDR_T_NONE) {
debug("Can't get the XHCI register base address\n");
return -ENXIO;