summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2018-07-03 17:43:10 +0200
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2018-07-03 17:43:10 +0200
commit0c9250368792c42b296d0bba73f7fff918b73381 (patch)
treef460e2f5e35ccd0efee2897874891f0e8755505d /drivers
parentvideo: fbdev: simplefb: Stop including <linux/clk-provider.h> (diff)
downloadlinux-0c9250368792c42b296d0bba73f7fff918b73381.tar.xz
linux-0c9250368792c42b296d0bba73f7fff918b73381.zip
efi/bgrt: Drop __initdata from bgrt_image_size
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/firmware/efi/efi-bgrt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/efi/efi-bgrt.c b/drivers/firmware/efi/efi-bgrt.c
index 50793fda7819..b22ccfb0c991 100644
--- a/drivers/firmware/efi/efi-bgrt.c
+++ b/drivers/firmware/efi/efi-bgrt.c
@@ -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;