public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] arch/i386/mach-generic/probe.c: make struct apic_probe static
@ 2007-07-29 14:56 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2007-07-29 14:56 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

This patch makes the needlessly global struct apic_probe static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

This patch has been sent on:
- 6 Jul 2007

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


^ permalink raw reply	[flat|nested] 2+ messages in thread
* [2.6 patch] arch/i386/mach-generic/probe.c: make struct apic_probe static
@ 2007-07-05 23:23 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2007-07-05 23:23 UTC (permalink / raw)
  To: linux-kernel

This patch makes the needlessly global struct apic_probe static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-29 14:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-29 14:56 [2.6 patch] arch/i386/mach-generic/probe.c: make struct apic_probe static Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2007-07-05 23:23 Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox