projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dm: atmel: Add driver model support for the ehci driver
[oweals/u-boot.git]
/
drivers
/
usb
/
host
/
xhci-exynos5.c
diff --git
a/drivers/usb/host/xhci-exynos5.c
b/drivers/usb/host/xhci-exynos5.c
index 251885b28b3a9a1e16d6e34edb4ca7ff993e4ce2..28416ed1064914bbdf8c8fce1258381c182d1115 100644
(file)
--- a/
drivers/usb/host/xhci-exynos5.c
+++ b/
drivers/usb/host/xhci-exynos5.c
@@
-61,7
+61,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 =
fdtdec_get_addr(blob, dev->of_offset, "reg"
);
+ plat->hcd_base =
dev_get_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;