From: Heinrich Schuchardt Date: Thu, 5 Oct 2017 14:35:55 +0000 (+0200) Subject: efi_loader: incorrect definition of EFI_SIMPLE_NETWORK_PROTOCOL X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=84a12ce64e08257d9e8eb7b9e7c2b232a2a35ebf;p=project%2Fbcm63xx%2Fu-boot.git efi_loader: incorrect definition of EFI_SIMPLE_NETWORK_PROTOCOL WaitForPacket is an event and not a function pointer. Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass Signed-off-by: Alexander Graf --- diff --git a/include/efi_api.h b/include/efi_api.h index c44dc9d0cb..308baeec49 100644 --- a/include/efi_api.h +++ b/include/efi_api.h @@ -633,7 +633,7 @@ struct efi_simple_network ulong *header_size, ulong *buffer_size, void *buffer, struct efi_mac_address *src_addr, struct efi_mac_address *dest_addr, u16 *protocol); - void (EFIAPI *waitforpacket)(void); + struct efi_event *wait_for_packet; struct efi_simple_network_mode *mode; };