]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: qemu: fix update_info declaration
authorVincent Stehlé <vincent.stehle@arm.com>
Fri, 6 Dec 2024 07:58:53 +0000 (08:58 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 6 Dec 2024 23:47:23 +0000 (17:47 -0600)
Add a missing comma in the update_info structure declaration.

This fixes the following build error when building with
EFI_RUNTIME_UPDATE_CAPSULE or EFI_CAPSULE_ON_DISK:

  board/emulation/qemu-arm/qemu-arm.c:52:9: error: request for member ‘images’ in something not a structure or union

Fixes: cccea18813c4 ("efi_loader: add the number of image entries in efi_capsule_update_info")
Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com>
Cc: Masahisa Kojima <masahisa.kojima@linaro.org>
Cc: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Cc: Tom Rini <trini@konsulko.com>
board/emulation/qemu-arm/qemu-arm.c

index 6095cb02b23f17502ab87a755942635fba78f133..e0e18b4dfea97cc43536f11878d5ede59820e49d 100644 (file)
@@ -48,7 +48,7 @@ struct efi_fw_image fw_images[] = {
 };
 
 struct efi_capsule_update_info update_info = {
-       .num_images = ARRAY_SIZE(fw_images)
+       .num_images = ARRAY_SIZE(fw_images),
        .images = fw_images,
 };