X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=drivers%2Fbootcount%2Fspi-flash.c;h=03050e66613470cedd1d2623c3c75d5e662037c0;hb=41575d8e4c334df148c4cdd7c40cc825dc0fcaa1;hp=7cd388e6616c616d5d96fc5d35fb08fdeb3b223c;hpb=78128d52dfca9fff53770c7aed2e4673070c5978;p=platform%2Fkernel%2Fu-boot.git diff --git a/drivers/bootcount/spi-flash.c b/drivers/bootcount/spi-flash.c index 7cd388e..03050e6 100644 --- a/drivers/bootcount/spi-flash.c +++ b/drivers/bootcount/spi-flash.c @@ -118,7 +118,7 @@ static const struct udevice_id bootcount_spi_flash_ids[] = { U_BOOT_DRIVER(bootcount_spi_flash) = { .name = "bootcount-spi-flash", .id = UCLASS_BOOTCOUNT, - .priv_auto_alloc_size = sizeof(struct bootcount_spi_flash_priv), + .priv_auto = sizeof(struct bootcount_spi_flash_priv), .probe = bootcount_spi_flash_probe, .of_match = bootcount_spi_flash_ids, .ops = &bootcount_spi_flash_ops,