* [PATCH] IP22: make indy_sc_ops variable static
@ 2008-10-31 17:54 Dmitri Vorobiev
2008-11-01 12:19 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Dmitri Vorobiev @ 2008-10-31 17:54 UTC (permalink / raw)
To: ralf, linux-mips; +Cc: Dmitri Vorobiev
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>
---
arch/mips/mm/sc-ip22.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/mips/mm/sc-ip22.c b/arch/mips/mm/sc-ip22.c
index 1f602a1..13adb57 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,
--
1.5.4.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] IP22: make indy_sc_ops variable static
2008-10-31 17:54 [PATCH] IP22: make indy_sc_ops variable static Dmitri Vorobiev
@ 2008-11-01 12:19 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2008-11-01 12:19 UTC (permalink / raw)
To: Dmitri Vorobiev; +Cc: linux-mips
On Fri, Oct 31, 2008 at 07:54:11PM +0200, Dmitri Vorobiev wrote:
Thanks, applied.
Ralf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-11-01 12:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-31 17:54 [PATCH] IP22: make indy_sc_ops variable static Dmitri Vorobiev
2008-11-01 12:19 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox