Commit 1291417e authored by Dmitri Vorobiev's avatar Dmitri Vorobiev Committed by Ralf Baechle

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: default avatarDmitri Vorobiev <dmitri.vorobiev@movial.com>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 1d9c114d
...@@ -29,7 +29,7 @@ extern unsigned long icache_way_size, dcache_way_size; ...@@ -29,7 +29,7 @@ extern unsigned long icache_way_size, dcache_way_size;
#include <asm/r4kcache.h> #include <asm/r4kcache.h>
int rm7k_tcache_enabled; static int rm7k_tcache_enabled;
/* /*
* Writeback and invalidate the primary cache dcache before DMA. * Writeback and invalidate the primary cache dcache before DMA.
...@@ -121,7 +121,7 @@ static void rm7k_sc_disable(void) ...@@ -121,7 +121,7 @@ static void rm7k_sc_disable(void)
clear_c0_config(RM7K_CONF_SE); clear_c0_config(RM7K_CONF_SE);
} }
struct bcache_ops rm7k_sc_ops = { static struct bcache_ops rm7k_sc_ops = {
.bc_enable = rm7k_sc_enable, .bc_enable = rm7k_sc_enable,
.bc_disable = rm7k_sc_disable, .bc_disable = rm7k_sc_disable,
.bc_wback_inv = rm7k_sc_wback_inv, .bc_wback_inv = rm7k_sc_wback_inv,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment