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_qspi.c
diff --git
a/drivers/spi/zynq_qspi.c
b/drivers/spi/zynq_qspi.c
index b98663c23b21e72e62eb970c42ed1f68b7135d42..255e02f585da4a9a6df77d6d477b3464eafeb097 100644
(file)
--- a/
drivers/spi/zynq_qspi.c
+++ b/
drivers/spi/zynq_qspi.c
@@
-101,7
+101,7
@@
static int zynq_qspi_ofdata_to_platdata(struct udevice *bus)
{
struct zynq_qspi_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_qspi_regs *)fdtdec_get_addr(blob,
node, "reg");