diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2017-10-05 16:35:55 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2017-10-09 07:00:31 +0200 |
commit | 84a12ce64e08257d9e8eb7b9e7c2b232a2a35ebf (patch) | |
tree | 666231f82e64a7df868eae357d5cbd8f8361ced9 /include/efi_api.h | |
parent | ca379e1bf16e59841f15ed34088eb1362bf2bd35 (diff) | |
download | u-boot-84a12ce64e08257d9e8eb7b9e7c2b232a2a35ebf.tar.gz |
efi_loader: incorrect definition of EFI_SIMPLE_NETWORK_PROTOCOL
WaitForPacket is an event and not a function pointer.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/efi_api.h')
-rw-r--r-- | include/efi_api.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; }; |