summaryrefslogtreecommitdiff
path: root/drivers/spi/pic32_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/pic32_spi.c')
-rw-r--r--drivers/spi/pic32_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/pic32_spi.c b/drivers/spi/pic32_spi.c
index 463c13c5bd..cd83c11304 100644
--- a/drivers/spi/pic32_spi.c
+++ b/drivers/spi/pic32_spi.c
@@ -236,7 +236,7 @@ static int pic32_spi_xfer(struct udevice *slave, unsigned int bitlen,
const void *tx_buf, void *rx_buf,
unsigned long flags)
{
- struct dm_spi_slave_platdata *slave_plat;
+ struct dm_spi_slave_plat *slave_plat;
struct udevice *bus = slave->parent;
struct pic32_spi_priv *priv;
int len = bitlen / 8;