Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Dmitri Vorobiev and committed by
Ralf Baechle
1291417e 1d9c114d

+2 -2
+2 -2
arch/mips/mm/sc-rm7k.c
··· 29 29 30 30 #include <asm/r4kcache.h> 31 31 32 - int rm7k_tcache_enabled; 32 + static int rm7k_tcache_enabled; 33 33 34 34 /* 35 35 * Writeback and invalidate the primary cache dcache before DMA. ··· 121 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 125 .bc_enable = rm7k_sc_enable, 126 126 .bc_disable = rm7k_sc_disable, 127 127 .bc_wback_inv = rm7k_sc_wback_inv,