]> err.no Git - linux-2.6/commitdiff
x86: sparse warning in efi.c
authorHarvey Harrison <harvey.harrison@gmail.com>
Wed, 13 Feb 2008 21:26:13 +0000 (13:26 -0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 19 Feb 2008 15:18:28 +0000 (16:18 +0100)
Yes, it should.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/efi.c

index 0c0eeb163d9035aa6e143ba7a74b79aa84659cf6..759e02bec0708f955764907ec380e6eb737c6dfa 100644 (file)
@@ -54,7 +54,7 @@ EXPORT_SYMBOL(efi);
 
 struct efi_memory_map memmap;
 
-struct efi efi_phys __initdata;
+static struct efi efi_phys __initdata;
 static efi_system_table_t efi_systab __initdata;
 
 static int __init setup_noefi(char *arg)