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
/
cadence_qspi.c
diff --git
a/drivers/spi/cadence_qspi.c
b/drivers/spi/cadence_qspi.c
index f16f90de2898cd5bd4f699fead2eeaf43643f07d..9a6e41f33076d9584e1f61285979cee5cc3b6997 100644
(file)
--- a/
drivers/spi/cadence_qspi.c
+++ b/
drivers/spi/cadence_qspi.c
@@
-282,7
+282,7
@@
static int cadence_spi_ofdata_to_platdata(struct udevice *bus)
{
struct cadence_spi_platdata *plat = bus->platdata;
const void *blob = gd->fdt_blob;
- int node =
bus->of_offset
;
+ int node =
dev_of_offset(bus)
;
int subnode;
u32 data[4];
int ret;