Skip to content

Commit

Permalink
x86/EFI: Properly init-annotate BGRT code
Browse files Browse the repository at this point in the history
These items are only ever referenced from initialization code.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Cc: <mjg@redhat.com>
Link: http://lkml.kernel.org/r/50AFB29F02000078000AAE8E@nat28.tlf.novell.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
  • Loading branch information
Jan Beulich authored and Ingo Molnar committed Jan 24, 2013
1 parent ff7532c commit 13f0e4d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions arch/x86/platform/efi/efi-bgrt.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,21 @@
* published by the Free Software Foundation.
*/
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/acpi.h>
#include <linux/efi.h>
#include <linux/efi-bgrt.h>

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 {
u16 id;
u32 size;
} __packed;

void efi_bgrt_init(void)
void __init efi_bgrt_init(void)
{
acpi_status status;
void __iomem *image;
Expand Down

0 comments on commit 13f0e4d

Please sign in to comment.