diff options
| author | Ben Wolsieffer <[email protected]> | 2025-10-27 16:56:27 -0400 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2025-11-06 23:26:28 +0100 |
| commit | ad669eb7966894f2f570ded8af925fb9a052a3ca (patch) | |
| tree | 5f1887c791ccf7e6e1a156858d34f776684ca8ac | |
| parent | 411f8f5367ca8f55faa8a9c34735e31ac665c7dc (diff) | |
efi: video: fix mode info in payload mode
Currently, the EFI framebuffer is non-functional in payload mode. It
always reports: "No video mode configured in EFI!"
This is caused by a copy-paste error that replaced
"struct efi_entry_gopmode" with "struct efi_gop_mode".
Fixes: 88753816cf54 ("efi: video: Move payload code into a function")
Signed-off-by: Ben Wolsieffer <[email protected]>
Reviewed-by: Heinrich Schuchardt <[email protected]>
| -rw-r--r-- | drivers/video/efi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/efi.c b/drivers/video/efi.c index 78d123fad4b..8ce2ef9dc67 100644 --- a/drivers/video/efi.c +++ b/drivers/video/efi.c @@ -104,7 +104,7 @@ static int get_mode_info(struct vesa_mode_info *vesa, u64 *fbp, static int get_mode_from_entry(struct vesa_mode_info *vesa, u64 *fbp, struct efi_gop_mode_info **infop) { - struct efi_gop_mode *mode; + struct efi_entry_gopmode *mode; int size; int ret; |
