diff options
| author | Heinrich Schuchardt <[email protected]> | 2025-11-04 12:07:02 +0100 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2025-11-06 23:26:28 +0100 |
| commit | 411f8f5367ca8f55faa8a9c34735e31ac665c7dc (patch) | |
| tree | 6894e2093a251fcff8b1836ec3a9688bd13c034a /include/efi_api.h | |
| parent | 893871132e54f0f5bc40ad3eee0bf0388a104b76 (diff) | |
efi: Use struct efi_gop_mode_info in struct efi_entry_gopmode
Since C99 flexible array members are allowed at the end of structures.
We require C11.
Use struct efi_gop_mode_info in the definition of struct efi_entry_gopmode
to avoid code duplication and unnecessary conversions.
Reviewed-by: Bin Meng <[email protected]>
Signed-off-by: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'include/efi_api.h')
| -rw-r--r-- | include/efi_api.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/efi_api.h b/include/efi_api.h index 77a05f752e5..d4fdd50c49e 100644 --- a/include/efi_api.h +++ b/include/efi_api.h @@ -1490,15 +1490,6 @@ struct efi_hii_config_access_protocol { #define EFI_GOT_BGRA8 1 #define EFI_GOT_BITMASK 2 -struct efi_gop_mode_info { - u32 version; - u32 width; - u32 height; - u32 pixel_format; - u32 pixel_bitmask[4]; - u32 pixels_per_scanline; -}; - struct efi_gop_mode { u32 max_mode; u32 mode; |
