diff options
Diffstat (limited to 'drivers/spi/cf_spi.c')
-rw-r--r-- | drivers/spi/cf_spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/cf_spi.c b/drivers/spi/cf_spi.c index 8fa6d35107..dec92df69b 100644 --- a/drivers/spi/cf_spi.c +++ b/drivers/spi/cf_spi.c @@ -392,7 +392,7 @@ static int coldfire_dspi_ofdata_to_platdata(struct udevice *bus) int node = dev_of_offset(bus); int *ctar, len; - addr = dev_read_addr(bus); + addr = devfdt_get_addr(bus); if (addr == FDT_ADDR_T_NONE) return -ENOMEM; |