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
/
tegra20_slink.c
diff --git
a/drivers/spi/tegra20_slink.c
b/drivers/spi/tegra20_slink.c
index e1da23b7b44b62cbd24d9cb581f7fa98ad9dac08..1d99a1e910e5cff3151c6fdd32d554373b9eb527 100644
(file)
--- a/
drivers/spi/tegra20_slink.c
+++ b/
drivers/spi/tegra20_slink.c
@@
-94,7
+94,7
@@
static int tegra30_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);