Skip to content

Commit

Permalink
MIPS: IP22: Make indy_sc_ops variable static
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Ralf Baechle <[email protected]>
---
  • Loading branch information
Dmitri Vorobiev authored and ralfbaechle committed Nov 20, 2008
1 parent 1b43284 commit f43909d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/mm/sc-ip22.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f43909d

Please sign in to comment.