Skip to content

Commit

Permalink
efi/bgrt: Drop __initdata from bgrt_image_size
Browse files Browse the repository at this point in the history
bgrt_image_size is necessary to (optionally) show the boot graphics from
the efifb code. The efifb driver is a platform driver, using a normal
driver probe() driver callback. So even though it is always builtin it
cannot reference __initdata.

Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
  • Loading branch information
Hans de Goede authored and Bartlomiej Zolnierkiewicz committed Jul 3, 2018
1 parent db3b4fd commit 0c92503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/firmware/efi/efi-bgrt.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include <linux/efi-bgrt.h>

struct acpi_table_bgrt bgrt_tab;
size_t __initdata bgrt_image_size;
size_t bgrt_image_size;

struct bmp_header {
u16 id;
Expand Down

0 comments on commit 0c92503

Please sign in to comment.