aboutsummaryrefslogtreecommitdiff
path: root/drivers/spi/mvebu_a3700_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/mvebu_a3700_spi.c')
-rw-r--r--drivers/spi/mvebu_a3700_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/mvebu_a3700_spi.c b/drivers/spi/mvebu_a3700_spi.c
index eb13cf349ef..b9e058acaa1 100644
--- a/drivers/spi/mvebu_a3700_spi.c
+++ b/drivers/spi/mvebu_a3700_spi.c
@@ -325,7 +325,7 @@ U_BOOT_DRIVER(mvebu_spi) = {
.of_match = mvebu_spi_ids,
.ops = &mvebu_spi_ops,
.ofdata_to_platdata = mvebu_spi_ofdata_to_platdata,
- .platdata_auto_alloc_size = sizeof(struct mvebu_spi_platdata),
+ .platdata_auto = sizeof(struct mvebu_spi_platdata),
.probe = mvebu_spi_probe,
.remove = mvebu_spi_remove,
};