aboutsummaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_gop.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2018-09-26 05:27:55 +0200
committerAlexander Graf <agraf@suse.de>2018-12-02 21:59:36 +0100
commitfae0118e7ae3a209b30205f02e8349c36ec0dbd9 (patch)
treed1cade62fe514991129ad318a519921e75779ce3 /lib/efi_loader/efi_gop.c
parentfaea1041054c355752dc61403fc885079daf015b (diff)
downloadu-boot-fae0118e7ae3a209b30205f02e8349c36ec0dbd9.zip
u-boot-fae0118e7ae3a209b30205f02e8349c36ec0dbd9.tar.gz
u-boot-fae0118e7ae3a209b30205f02e8349c36ec0dbd9.tar.bz2
efi_loader: eliminate handle member
A pointer to a struct efi_object is a handle. We do not need any handle member in this structure. Let's eliminate it. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib/efi_loader/efi_gop.c')
-rw-r--r--lib/efi_loader/efi_gop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_gop.c b/lib/efi_loader/efi_gop.c
index a4aa9bc..a13c626 100644
--- a/lib/efi_loader/efi_gop.c
+++ b/lib/efi_loader/efi_gop.c
@@ -442,7 +442,7 @@ efi_status_t efi_gop_register(void)
efi_add_handle(&gopobj->parent);
/* Fill in object data */
- ret = efi_add_protocol(gopobj->parent.handle, &efi_gop_guid,
+ ret = efi_add_protocol(&gopobj->parent, &efi_gop_guid,
&gopobj->ops);
if (ret != EFI_SUCCESS) {
printf("ERROR: Failure adding gop protocol\n");