linux-mips
[Top] [All Lists]

[PATCH] IP22: make indy_sc_ops variable static

To: ralf@linux-mips.org, linux-mips@linux-mips.org
Subject: [PATCH] IP22: make indy_sc_ops variable static
From: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
Date: Fri, 31 Oct 2008 19:54:11 +0200
Cc: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
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


<Prev in Thread] Current Thread [Next in Thread>