summaryrefslogtreecommitdiffstats
path: root/src/boot/efi/splash.c
diff options
context:
space:
mode:
authorJan Janssen <medhefgo@web.de>2021-09-30 12:51:32 +0200
committerJan Janssen <medhefgo@web.de>2021-10-17 11:56:05 +0200
commit53f69d671c024698d5911a984ef8888ad4523fc1 (patch)
treeaf62fbe205151f8a0a12c4f097c26f50b9792482 /src/boot/efi/splash.c
parentsd-boot: Get rid of uefi_call_wrapper (diff)
downloadsystemd-53f69d671c024698d5911a984ef8888ad4523fc1.tar.xz
systemd-53f69d671c024698d5911a984ef8888ad4523fc1.zip
sd-boot: Require gnu-efi 3.0.5
This version is from 2017 and should be stale enough to not cause an outrage. All the relevant distros have it or a newer version. We also already depend on some symbols defined in 3.0.5 anyway, so let's take the opportunity to reduce our missing_efi.h baggage.
Diffstat (limited to 'src/boot/efi/splash.c')
-rw-r--r--src/boot/efi/splash.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/boot/efi/splash.c b/src/boot/efi/splash.c
index c27203eb8c..fa923e77f2 100644
--- a/src/boot/efi/splash.c
+++ b/src/boot/efi/splash.c
@@ -256,7 +256,6 @@ static EFI_STATUS bmp_to_blt(
EFI_STATUS graphics_splash(const UINT8 *content, UINTN len, const EFI_GRAPHICS_OUTPUT_BLT_PIXEL *background) {
EFI_GRAPHICS_OUTPUT_BLT_PIXEL pixel = {};
- static const EFI_GUID GraphicsOutputProtocolGuid = EFI_GRAPHICS_OUTPUT_PROTOCOL_GUID;
EFI_GRAPHICS_OUTPUT_PROTOCOL *GraphicsOutput = NULL;
struct bmp_dib *dib;
struct bmp_map *map;
@@ -281,7 +280,7 @@ EFI_STATUS graphics_splash(const UINT8 *content, UINTN len, const EFI_GRAPHICS_O
background = &pixel;
}
- err = LibLocateProtocol((EFI_GUID*) &GraphicsOutputProtocolGuid, (void **)&GraphicsOutput);
+ err = LibLocateProtocol(&GraphicsOutputProtocol, (void **)&GraphicsOutput);
if (EFI_ERROR(err))
return err;