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
/
rk_spi.c
diff --git
a/drivers/spi/rk_spi.c
b/drivers/spi/rk_spi.c
index 15cf0bda202a72b7257e27a5eff97bdd8250485f..3e44f1795e3ccbcfedb606ece22b01bebd07fde5 100644
(file)
--- a/
drivers/spi/rk_spi.c
+++ b/
drivers/spi/rk_spi.c
@@
-164,7
+164,7
@@
static int rockchip_spi_ofdata_to_platdata(struct udevice *bus)
struct rockchip_spi_platdata *plat = dev_get_platdata(bus);
struct rockchip_spi_priv *priv = dev_get_priv(bus);
const void *blob = gd->fdt_blob;
- int node =
bus->of_offset
;
+ int node =
dev_of_offset(bus)
;
int ret;
plat->base = dev_get_addr(bus);