diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2018-04-03 23:29:33 +0300 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2018-04-04 12:37:47 +0300 |
commit | 43dace5d897ef1ac5eadaf906d77f671e018116f (patch) | |
tree | eade11e59346b6b2ca86216e9b5e451138fa2d8b /include/efi_api.h | |
parent | 82786754b9d21a05a70c45ff7e9e48c91745f837 (diff) | |
download | u-boot-43dace5d897ef1ac5eadaf906d77f671e018116f.tar.xz |
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 <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/efi_api.h')
-rw-r--r-- | include/efi_api.h | 4 |
1 files changed, 2 insertions, 2 deletions
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; |