aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-02-28 21:46:59 -0800
committerDavid S. Miller <davem@davemloft.net>2008-02-28 21:46:59 -0800
commitc8edc89d24546c834d7f595663afd14602855c02 (patch)
tree6e634724f1b5583e6f63045c2dc370c98b3ec712 /arch/sparc/kernel
parentbe71716e464f4ea38f08034dc666f2feb55535d9 (diff)
downloadkernel_samsung_smdk4412-c8edc89d24546c834d7f595663afd14602855c02.zip
kernel_samsung_smdk4412-c8edc89d24546c834d7f595663afd14602855c02.tar.gz
kernel_samsung_smdk4412-c8edc89d24546c834d7f595663afd14602855c02.tar.bz2
[SPARC]: Mark linux_sparc_{fpu,chips} static.
Caught by sparse. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel')
-rw-r--r--arch/sparc/kernel/cpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/kernel/cpu.c b/arch/sparc/kernel/cpu.c
index 259a559..e7a0edf 100644
--- a/arch/sparc/kernel/cpu.c
+++ b/arch/sparc/kernel/cpu.c
@@ -32,7 +32,7 @@ struct cpu_fp_info {
/* In order to get the fpu type correct, you need to take the IDPROM's
* machine type value into consideration too. I will fix this.
*/
-struct cpu_fp_info linux_sparc_fpu[] = {
+static struct cpu_fp_info linux_sparc_fpu[] = {
{ 0, 0, "Fujitsu MB86910 or Weitek WTL1164/5"},
{ 0, 1, "Fujitsu MB86911 or Weitek WTL1164/5 or LSI L64831"},
{ 0, 2, "LSI Logic L64802 or Texas Instruments ACT8847"},
@@ -76,7 +76,7 @@ struct cpu_fp_info linux_sparc_fpu[] = {
#define NSPARCFPU ARRAY_SIZE(linux_sparc_fpu)
-struct cpu_iu_info linux_sparc_chips[] = {
+static struct cpu_iu_info linux_sparc_chips[] = {
/* Sun4/100, 4/200, SLC */
{ 0, 0, "Fujitsu MB86900/1A or LSI L64831 SparcKIT-40"},
/* borned STP1012PGA */