mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 07:31:15 +00:00
efi_loader: Fix warning in efi_gop
Commitca9193d2b1
("efi_loader: gop: fixes for CONFIG_DM_VIDEO without CONFIG_LCD") dropped the explicit (void*) cast for fb_base in efi gop support for CONFIG_LCD without DM. This patch adds it back, eliminating the now occuring warning again Fixes:ca9193d2b1
("efi_loader: gop: fixes for CONFIG_DM_VIDEO without CONFIG_LCD") Reported-by: Tom Rini <trini@konsulko.com> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
2218b32d88
commit
c1ae1a1608
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ int efi_gop_register(void)
|
|||
row = panel_info.vl_row;
|
||||
fb_base = gd->fb_base;
|
||||
fb_size = lcd_get_size(&line_len);
|
||||
fb = gd->fb_base;
|
||||
fb = (void*)gd->fb_base;
|
||||
#endif
|
||||
|
||||
switch (bpix) {
|
||||
|
|
Loading…
Reference in a new issue