From: Heinrich Schuchardt Date: Tue, 3 Apr 2018 20:29:33 +0000 (+0200) Subject: efi_loader: correct types for EFI_LOADED_IMAGE_PROTOCOL X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=43dace5d897ef1ac5eadaf906d77f671e018116f;p=u-boot.git efi_loader: correct types for EFI_LOADED_IMAGE_PROTOCOL We should not use void * but specific types for * device_handle * file_path Signed-off-by: Heinrich Schuchardt Signed-off-by: Alexander Graf --- diff --git a/include/efi_api.h b/include/efi_api.h index 2be470b237..f5bb6ec171 100644 --- a/include/efi_api.h +++ b/include/efi_api.h @@ -318,8 +318,8 @@ struct efi_loaded_image { u32 revision; void *parent_handle; struct efi_system_table *system_table; - void *device_handle; - void *file_path; + efi_handle_t device_handle; + struct efi_device_path *file_path; void *reserved; u32 load_options_size; void *load_options;