projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
240cd75
)
spi: mxc: Fix compilation problem of DM_SPI class driver
author
Michael Trimarchi
<michael@amarulasolutions.com>
Wed, 20 Jun 2018 20:51:17 +0000
(22:51 +0200)
committer
Jagan Teki
<jagan@amarulasolutions.com>
Mon, 25 Jun 2018 08:48:41 +0000
(14:18 +0530)
drivers/spi/mxc_spi.c:507: undefined reference to `dev_get_addr'
linux-ld.bfd: BFD (GNU Binutils) 2.29.1 assertion fail elf32-arm.c:9509
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
drivers/spi/mxc_spi.c
patch
|
blob
|
history
diff --git
a/drivers/spi/mxc_spi.c
b/drivers/spi/mxc_spi.c
index b77129cc317b04133a7f640d2fc928d78bc9d14e..fcb214af20b2e7f4ff4209a69f1cb3626dcfc872 100644
(file)
--- a/
drivers/spi/mxc_spi.c
+++ b/
drivers/spi/mxc_spi.c
@@
-504,7
+504,7
@@
static int mxc_spi_probe(struct udevice *bus)
return -EINVAL;
}
- plat->base = dev_get_addr(bus);
+ plat->base = dev
fdt
_get_addr(bus);
if (plat->base == FDT_ADDR_T_NONE)
return -ENODEV;