]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
MIPS: IP22: Make indy_sc_ops variable static
authorDmitri Vorobiev <dmitri.vorobiev@movial.fi>
Fri, 31 Oct 2008 17:54:11 +0000 (19:54 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 20 Nov 2008 19:42:33 +0000 (19:42 +0000)
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>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
---

arch/mips/mm/sc-ip22.c

index 1f602a110e101e9e54bcd4c1426cec9659eaaa23..13adb578211062d99a30c1733e7fb452d49052b2 100644 (file)
@@ -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,