summaryrefslogtreecommitdiffstats
path: root/drivers/spi/mt7621_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/mt7621_spi.c')
-rw-r--r--drivers/spi/mt7621_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/mt7621_spi.c b/drivers/spi/mt7621_spi.c
index 3a0738eb2b..eb0931747b 100644
--- a/drivers/spi/mt7621_spi.c
+++ b/drivers/spi/mt7621_spi.c
@@ -304,6 +304,6 @@ U_BOOT_DRIVER(mt7621_spi) = {
.id = UCLASS_SPI,
.of_match = mt7621_spi_ids,
.ops = &mt7621_spi_ops,
- .priv_auto_alloc_size = sizeof(struct mt7621_spi),
+ .priv_auto = sizeof(struct mt7621_spi),
.probe = mt7621_spi_probe,
};