aboutsummaryrefslogtreecommitdiff
path: root/lib/efi/efi_stub.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt2019-04-20 07:39:11 +0200
committerHeinrich Schuchardt2019-04-23 00:37:27 +0200
commitdec88e41e022ac06c0054ca48807db0d95f917f6 (patch)
tree2fb2e6ba1db459cd39566bd24ce9489ad8309e38 /lib/efi/efi_stub.c
parenta2a4bc3b09fc956ae58572430a019781425baf9c (diff)
efi_loader: consistent naming of protocol GUIDs
We should consistently use the same name for protocol GUIDs as defined in the UEFI specification. Not adhering to this rule has led to duplicate definitions for the EFI_LOADED_IMAGE_PROTOCOL_GUID. Adjust misnamed protocol GUIDs. Adjust the text for the graphics output protocol in the output of the `efidebug dh` command. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'lib/efi/efi_stub.c')
-rw-r--r--lib/efi/efi_stub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi/efi_stub.c b/lib/efi/efi_stub.c
index 12e3d637dda..6dd93ff435a 100644
--- a/lib/efi/efi_stub.c
+++ b/lib/efi/efi_stub.c
@@ -278,7 +278,7 @@ efi_status_t EFIAPI efi_main(efi_handle_t image,
struct efi_gop *gop;
struct efi_entry_gopmode mode;
struct efi_entry_systable table;
- efi_guid_t efi_gop_guid = EFI_GOP_GUID;
+ efi_guid_t efi_gop_guid = EFI_GRAPHICS_OUTPUT_PROTOCOL_GUID;
efi_uintn_t key, desc_size, size;
efi_status_t ret;
u32 version;