diff options
Diffstat (limited to 'drivers/spi/bcm63xx_spi.c')
-rw-r--r-- | drivers/spi/bcm63xx_spi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/bcm63xx_spi.c b/drivers/spi/bcm63xx_spi.c index 97b72d2..fe5fe5b 100644 --- a/drivers/spi/bcm63xx_spi.c +++ b/drivers/spi/bcm63xx_spi.c @@ -237,7 +237,7 @@ static int bcm63xx_spi_xfer(struct udevice *dev, unsigned int bitlen, if (flags & SPI_XFER_END) { struct dm_spi_slave_platdata *plat = - dev_get_parent_platdata(dev); + dev_get_parent_plat(dev); uint16_t val, cmd; int ret; @@ -351,7 +351,7 @@ static int bcm63xx_spi_child_pre_probe(struct udevice *dev) struct bcm63xx_spi_priv *priv = dev_get_priv(dev->parent); const unsigned long *regs = priv->regs; struct spi_slave *slave = dev_get_parent_priv(dev); - struct dm_spi_slave_platdata *plat = dev_get_parent_platdata(dev); + struct dm_spi_slave_platdata *plat = dev_get_parent_plat(dev); /* check cs */ if (plat->cs >= priv->num_cs) { |