[2.6 patch] arch/i386/mach-generic/probe.c: make struct apic_probestatic

From: Adrian Bunk
Date: Thu Jul 05 2007 - 19:24:57 EST


This patch makes the needlessly global struct apic_probe static.

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

---

--- linux-2.6.22-rc6-mm1/arch/i386/mach-generic/probe.c.old 2007-07-05 15:55:40.000000000 +0200
+++ linux-2.6.22-rc6-mm1/arch/i386/mach-generic/probe.c 2007-07-05 15:55:51.000000000 +0200
@@ -22,7 +22,7 @@

struct genapic *genapic = &apic_default;

-struct genapic *apic_probe[] __initdata = {
+static struct genapic *apic_probe[] __initdata = {
&apic_summit,
&apic_bigsmp,
&apic_es7000,

-
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/