Received: from mail.onstor.com (66.201.51.107) by exch1.onstor.net
 (10.0.0.225) with Microsoft SMTP Server id 8.1.311.2; Mon, 30 Mar 2009
 14:11:07 -0700
Received: from psmtp.com ([64.18.0.98]) by mail.onstor.com with Microsoft
 SMTPSVC(6.0.3790.3959);	 Mon, 30 Mar 2009 14:11:07 -0700
Received: from source ([213.58.128.207]) by exprod5mx275.postini.com
 ([64.18.4.10]) with SMTP;	Mon, 30 Mar 2009 13:11:07 PST
Received: from localhost.localdomain ([127.0.0.1]:48061 "EHLO
	ftp.linux-mips.org") by ftp.linux-mips.org with ESMTP	id S20036913AbZC3Tyb
 (ORCPT <rfc822;andy.sharp@onstor.com>);	Mon, 30 Mar 2009 20:54:31 +0100
Received: with ECARTIS (v1.0.0; list linux-mips); Mon, 30 Mar 2009 20:54:14
 +0100 (BST)
Received: from gw02.mail.saunalahti.fi ([195.197.172.116]:38551 "EHLO
	gw02.mail.saunalahti.fi") by ftp.linux-mips.org with ESMTP	id
 S20022018AbZC3Txp (ORCPT <rfc822;linux-mips@linux-mips.org>);	Mon, 30 Mar
 2009 20:53:45 +0100
Received: from localhost.localdomain (a88-114-245-69.elisa-laajakaista.fi
 [88.114.245.69])	by gw02.mail.saunalahti.fi (Postfix) with ESMTP id
 76D6F1399EB;	Mon, 30 Mar 2009 22:53:41 +0300 (EEST)
From: Dmitri Vorobiev <dmitri.vorobiev@movial.com>
To: "ralf@linux-mips.org" <ralf@linux-mips.org>, "linux-mips@linux-mips.org"
	<linux-mips@linux-mips.org>
CC: Dmitri Vorobiev <dmitri.vorobiev@movial.com>
Sender: "linux-mips-bounce@linux-mips.org" <linux-mips-bounce@linux-mips.org>
Date: Mon, 30 Mar 2009 12:53:23 -0700
Subject: [PATCH 1/4] [MIPS] ip32: two symbols can become static
Thread-Topic: [PATCH 1/4] [MIPS] ip32: two symbols can become static
Thread-Index: AcmxfAtLqmp+rNHDR/q8kkC4oH0BRg==
Message-ID: <1238442806-11013-2-git-send-email-dmitri.vorobiev@movial.com>
References: <1238442806-11013-1-git-send-email-dmitri.vorobiev@movial.com>
In-Reply-To: <1238442806-11013-1-git-send-email-dmitri.vorobiev@movial.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Exchange-Organization-AuthAs: Internal
X-MS-Exchange-Organization-AuthMechanism: 0b
X-MS-Exchange-Organization-AuthSource: exch1.onstor.net
X-MS-Has-Attach:
X-Auto-Response-Suppress: All
X-MS-TNEF-Correlator:
x-originalarrivaltime: 30 Mar 2009 21:11:07.0064 (UTC)
 FILETIME=[0AB7AB80:01C9B17C]
errors-to: linux-mips-bounce@linux-mips.org
x-pstn-levels: (S:89.38428/99.90000 CV:99.9000 FC:95.5390 LC:95.5390
 R:95.9108 P:95.9108 M:97.0282 C:98.6951 )
x-pstn-neptune: 3/1/0.33/73
x-ems-proccessed: 2K3Xl1OQTInXD6xxuA8z3Q==
x-ems-stamp: H8xz2Ec2tCypQewFn0T7UA==
x-list: linux-mips
x-archive-position: 22189
x-ecartis-version: Ecartis v1.0.0
x-original-sender: dmitri.vorobiev@movial.com
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0

The file arch/mips/mm/sc-rm7k.c needlessly defines two global symbols:

rm7k_sc_ops
rm7k_tcache_enabled

This patch makes these symbols static.

Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.com>
---
 arch/mips/mm/sc-rm7k.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/mips/mm/sc-rm7k.c b/arch/mips/mm/sc-rm7k.c
index e3abfb2..de69bfb 100644
--- a/arch/mips/mm/sc-rm7k.c
+++ b/arch/mips/mm/sc-rm7k.c
@@ -29,7 +29,7 @@ extern unsigned long icache_way_size, dcache_way_size;
=20
 #include <asm/r4kcache.h>
=20
-int rm7k_tcache_enabled;
+static int rm7k_tcache_enabled;
=20
 /*
  * Writeback and invalidate the primary cache dcache before DMA.
@@ -121,7 +121,7 @@ static void rm7k_sc_disable(void)
 	clear_c0_config(RM7K_CONF_SE);
 }
=20
-struct bcache_ops rm7k_sc_ops =3D {
+static struct bcache_ops rm7k_sc_ops =3D {
 	.bc_enable =3D rm7k_sc_enable,
 	.bc_disable =3D rm7k_sc_disable,
 	.bc_wback_inv =3D rm7k_sc_wback_inv,
--=20
1.5.6.3


