diff options
author | Dmitri Vorobiev <dmitri.vorobiev@movial.com> | 2009-03-30 15:53:23 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-05-14 08:50:24 -0400 |
commit | 1291417eb61d1cd3fc69e295c2e9b83c5f6a8ff9 (patch) | |
tree | d43403c39c97aeda5eb9bdff77dc03aeeb9058c1 /arch/mips/mm | |
parent | 1d9c114dc1702306215439cd608047ab639700db (diff) |
MIPS: IP32: Two symbols can become static
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>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mm')
-rw-r--r-- | 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 e3abfb2d7e86..de69bfbf506e 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; | |||
29 | 29 | ||
30 | #include <asm/r4kcache.h> | 30 | #include <asm/r4kcache.h> |
31 | 31 | ||
32 | int rm7k_tcache_enabled; | 32 | static int rm7k_tcache_enabled; |
33 | 33 | ||
34 | /* | 34 | /* |
35 | * Writeback and invalidate the primary cache dcache before DMA. | 35 | * Writeback and invalidate the primary cache dcache before DMA. |
@@ -121,7 +121,7 @@ static void rm7k_sc_disable(void) | |||
121 | clear_c0_config(RM7K_CONF_SE); | 121 | clear_c0_config(RM7K_CONF_SE); |
122 | } | 122 | } |
123 | 123 | ||
124 | struct bcache_ops rm7k_sc_ops = { | 124 | static struct bcache_ops rm7k_sc_ops = { |
125 | .bc_enable = rm7k_sc_enable, | 125 | .bc_enable = rm7k_sc_enable, |
126 | .bc_disable = rm7k_sc_disable, | 126 | .bc_disable = rm7k_sc_disable, |
127 | .bc_wback_inv = rm7k_sc_wback_inv, | 127 | .bc_wback_inv = rm7k_sc_wback_inv, |