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
/
tegra114_spi.c
diff --git
a/drivers/spi/tegra114_spi.c
b/drivers/spi/tegra114_spi.c
index 509afba0a298c54bf9ed7f74f45db27a8ae29612..897409ca02faab242a8ec45c235b8d329c546e72 100644
(file)
--- a/
drivers/spi/tegra114_spi.c
+++ b/
drivers/spi/tegra114_spi.c
@@
-101,7
+101,7
@@
static int tegra114_spi_ofdata_to_platdata(struct udevice *bus)
{
struct tegra_spi_platdata *plat = bus->platdata;
const void *blob = gd->fdt_blob;
- int node =
bus->of_offset
;
+ int node =
dev_of_offset(bus)
;
plat->base = dev_get_addr(bus);
plat->periph_id = clock_decode_periph_id(blob, node);