[2.6 patch] x86: make struct efi_phys static

From: Adrian Bunk
Date: Wed Feb 13 2008 - 16:31:47 EST


Thuis patch makes the needlessly global struct efi_phys static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>

---
3002c1d384e748f2928823ff4b10ed4d6082dceb
diff --git a/arch/x86/kernel/efi.c b/arch/x86/kernel/efi.c
index 1411324..1211ab2 100644
--- a/arch/x86/kernel/efi.c
+++ b/arch/x86/kernel/efi.c
@@ -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)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/