diff options
author | Alexander Graf <agraf@suse.de> | 2017-07-31 10:15:57 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-07-31 14:28:13 +0300 |
commit | c1ae1a16086c3442154e8a392143897584eac862 (patch) | |
tree | a5781055aa6684a23f54d0d5c2ce3d8f68742762 | |
parent | 2218b32d88f9b4b4484cea9a8b034ddab0be298b (diff) | |
download | u-boot-c1ae1a16086c3442154e8a392143897584eac862.tar.xz |
efi_loader: Fix warning in efi_gop
Commit ca9193d2b16 ("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: ca9193d2b16 ("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>
-rw-r--r-- | lib/efi_loader/efi_gop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_gop.c b/lib/efi_loader/efi_gop.c index 806cfaeea1..e063e0c79b 100644 --- a/lib/efi_loader/efi_gop.c +++ b/lib/efi_loader/efi_gop.c @@ -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) { |