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 8c1a62e..ce0584d 100644 --- a/drivers/spi/cf_spi.c +++ b/drivers/spi/cf_spi.c @@ -343,7 +343,7 @@ static int coldfire_spi_set_mode(struct udevice *bus, uint mode) static int coldfire_spi_probe(struct udevice *bus) { - struct coldfire_spi_platdata *plat = dev_get_platdata(bus); + struct coldfire_spi_platdata *plat = dev_get_plat(bus); struct coldfire_spi_priv *cfspi = dev_get_priv(bus); struct dspi *dspi = cfspi->regs; int i; |