projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rockchip: rk3288: sdram: style fixes from rk3188 sdram review
[oweals/u-boot.git]
/
drivers
/
spi
/
zynq_spi.c
diff --git
a/drivers/spi/zynq_spi.c
b/drivers/spi/zynq_spi.c
index 15ca271ea4a8c02886030b2022e8b11a2a29f8db..5a9b1f0f2ee4cc369c1da3b1b655ae7e5d7f540d 100644
(file)
--- a/
drivers/spi/zynq_spi.c
+++ b/
drivers/spi/zynq_spi.c
@@
-71,7
+71,7
@@
static int zynq_spi_ofdata_to_platdata(struct udevice *bus)
{
struct zynq_spi_platdata *plat = bus->platdata;
const void *blob = gd->fdt_blob;
- int node =
bus->of_offset
;
+ int node =
dev_of_offset(bus)
;
plat->regs = (struct zynq_spi_regs *)dev_get_addr(bus);