projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d9c114
)
MIPS: IP32: Two symbols can become static
author
Dmitri Vorobiev
<
[email protected]
>
Mon, 30 Mar 2009 19:53:23 +0000
(22:53 +0300)
committer
Ralf Baechle
<
[email protected]
>
Thu, 14 May 2009 12:50:24 +0000
(13:50 +0100)
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 <
[email protected]
>
Signed-off-by: Ralf Baechle <
[email protected]
>
arch/mips/mm/sc-rm7k.c
patch
|
blob
|
history
diff --git
a/arch/mips/mm/sc-rm7k.c
b/arch/mips/mm/sc-rm7k.c
index e3abfb2d7e8624c249f69b8d46253a922af1251a..de69bfbf506e251b078527096fba6b9efc6ddbbe 100644
(file)
--- 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;
#include <asm/r4kcache.h>
-int rm7k_tcache_enabled;
+
static
int rm7k_tcache_enabled;
/*
* 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);
}
-struct bcache_ops rm7k_sc_ops = {
+st
atic st
ruct bcache_ops rm7k_sc_ops = {
.bc_enable = rm7k_sc_enable,
.bc_disable = rm7k_sc_disable,
.bc_wback_inv = rm7k_sc_wback_inv,