|
@@ -11,20 +11,21 @@
|
|
|
* published by the Free Software Foundation.
|
|
* published by the Free Software Foundation.
|
|
|
*/
|
|
*/
|
|
|
#include <linux/kernel.h>
|
|
#include <linux/kernel.h>
|
|
|
|
|
+#include <linux/init.h>
|
|
|
#include <linux/acpi.h>
|
|
#include <linux/acpi.h>
|
|
|
#include <linux/efi.h>
|
|
#include <linux/efi.h>
|
|
|
#include <linux/efi-bgrt.h>
|
|
#include <linux/efi-bgrt.h>
|
|
|
|
|
|
|
|
struct acpi_table_bgrt *bgrt_tab;
|
|
struct acpi_table_bgrt *bgrt_tab;
|
|
|
-void *bgrt_image;
|
|
|
|
|
-size_t bgrt_image_size;
|
|
|
|
|
|
|
+void *__initdata bgrt_image;
|
|
|
|
|
+size_t __initdata bgrt_image_size;
|
|
|
|
|
|
|
|
struct bmp_header {
|
|
struct bmp_header {
|
|
|
u16 id;
|
|
u16 id;
|
|
|
u32 size;
|
|
u32 size;
|
|
|
} __packed;
|
|
} __packed;
|
|
|
|
|
|
|
|
-void efi_bgrt_init(void)
|
|
|
|
|
|
|
+void __init efi_bgrt_init(void)
|
|
|
{
|
|
{
|
|
|
acpi_status status;
|
|
acpi_status status;
|
|
|
void __iomem *image;
|
|
void __iomem *image;
|