diff options
Diffstat (limited to 'drivers/spi/uniphier_spi.c')
-rw-r--r-- | drivers/spi/uniphier_spi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/uniphier_spi.c b/drivers/spi/uniphier_spi.c index b6456685f8..048d74f1f8 100644 --- a/drivers/spi/uniphier_spi.c +++ b/drivers/spi/uniphier_spi.c @@ -412,7 +412,7 @@ U_BOOT_DRIVER(uniphier_spi) = { .of_match = uniphier_spi_ids, .ops = &uniphier_spi_ops, .ofdata_to_platdata = uniphier_spi_ofdata_to_platdata, - .platdata_auto_alloc_size = sizeof(struct uniphier_spi_platdata), - .priv_auto_alloc_size = sizeof(struct uniphier_spi_priv), + .platdata_auto = sizeof(struct uniphier_spi_platdata), + .priv_auto = sizeof(struct uniphier_spi_priv), .probe = uniphier_spi_probe, }; |