Merge tag 'v2021.01-rc5' into next
[platform/kernel/u-boot.git] / drivers / mtd / nand / spi / core.c
index 36d0400..09bfde6 100644 (file)
@@ -1247,6 +1247,6 @@ U_BOOT_DRIVER(spinand) = {
        .name = "spi_nand",
        .id = UCLASS_MTD,
        .of_match = spinand_ids,
-       .priv_auto_alloc_size = sizeof(struct spinand_device),
+       .priv_auto      = sizeof(struct spinand_device),
        .probe = spinand_probe,
 };