summaryrefslogtreecommitdiffstats
path: root/arch/mips/mm
diff options
context:
space:
mode:
authorDmitri Vorobiev <dmitri.vorobiev@movial.fi>2008-10-31 18:54:11 +0100
committerRalf Baechle <ralf@linux-mips.org>2008-11-20 20:42:33 +0100
commitf43909dfb39c63ce54a598cbd7921643029afdeb (patch)
tree91661c50ce0371b9ee503789303379ed94671cfb /arch/mips/mm
parentMIPS: RB532: GPIO register offsets are relative to GPIOBASE (diff)
downloadlinux-f43909dfb39c63ce54a598cbd7921643029afdeb.tar.xz
linux-f43909dfb39c63ce54a598cbd7921643029afdeb.zip
MIPS: IP22: Make indy_sc_ops variable static
The indy_sc_ops variable in arch/mips/mm/sc-ip22.c is needlessly defined global, and this patch makes it static. Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> ---
Diffstat (limited to 'arch/mips/mm')
-rw-r--r--arch/mips/mm/sc-ip22.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mm/sc-ip22.c b/arch/mips/mm/sc-ip22.c
index 1f602a110e10..13adb5782110 100644
--- a/arch/mips/mm/sc-ip22.c
+++ b/arch/mips/mm/sc-ip22.c
@@ -161,7 +161,7 @@ static inline int __init indy_sc_probe(void)
/* XXX Check with wje if the Indy caches can differenciate between
writeback + invalidate and just invalidate. */
-struct bcache_ops indy_sc_ops = {
+static struct bcache_ops indy_sc_ops = {
.bc_enable = indy_sc_enable,
.bc_disable = indy_sc_disable,
.bc_wback_inv = indy_sc_wback_invalidate,