linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/2] efi/bgrt: Drop __initdata from bgrt_image_size
@ 2018-06-18 15:13 Hans de Goede
  2018-06-18 15:13 ` [PATCH v2 2/2] efifb: Copy the ACPI BGRT boot graphics to the framebuffer Hans de Goede
  2018-07-02 11:26 ` [PATCH v2 1/2] efi/bgrt: Drop __initdata from bgrt_image_size Hans de Goede
  0 siblings, 2 replies; 8+ messages in thread
From: Hans de Goede @ 2018-06-18 15:13 UTC (permalink / raw)
  To: Ard Biesheuvel, Bartlomiej Zolnierkiewicz
  Cc: Hans de Goede, linux-fbdev, linux-efi, dri-devel

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>
---
 drivers/firmware/efi/efi-bgrt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-07-03 15:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-18 15:13 [PATCH v2 1/2] efi/bgrt: Drop __initdata from bgrt_image_size Hans de Goede
2018-06-18 15:13 ` [PATCH v2 2/2] efifb: Copy the ACPI BGRT boot graphics to the framebuffer Hans de Goede
2018-07-02 11:26 ` [PATCH v2 1/2] efi/bgrt: Drop __initdata from bgrt_image_size Hans de Goede
2018-07-02 11:46   ` Ard Biesheuvel
2018-07-02 11:57     ` Bartlomiej Zolnierkiewicz
2018-07-02 12:02       ` Ard Biesheuvel
     [not found]         ` <CGME20180703152453eucas1p2b6fe0c9a8c8e0e7607a5d5bd8438f61e@eucas1p2.samsung.com>
2018-07-03 15:24           ` Bartlomiej Zolnierkiewicz
2018-07-03 15:25             ` Ard Biesheuvel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).