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
/
designware_spi.c
diff --git
a/drivers/spi/designware_spi.c
b/drivers/spi/designware_spi.c
index 24a6e982054c5ce67893c81b85a1f74397b8ff56..9d5e29c6c3f690eeff560042a946ac27d4030fd1 100644
(file)
--- a/
drivers/spi/designware_spi.c
+++ b/
drivers/spi/designware_spi.c
@@
-132,7
+132,7
@@
static int dw_spi_ofdata_to_platdata(struct udevice *bus)
{
struct dw_spi_platdata *plat = bus->platdata;
const void *blob = gd->fdt_blob;
- int node =
bus->of_offset
;
+ int node =
dev_of_offset(bus)
;
plat->regs = (struct dw_spi *)dev_get_addr(bus);