linux-mips
[Top] [All Lists]

[PATCH 3/4] [MIPS] ip32: fix needlessly global symbols in arch/mips/sgi-

To: ralf@linux-mips.org, linux-mips@linux-mips.org
Subject: [PATCH 3/4] [MIPS] ip32: fix needlessly global symbols in arch/mips/sgi-ip32/ip32-irq.c
From: Dmitri Vorobiev <dmitri.vorobiev@movial.com>
Date: Mon, 30 Mar 2009 22:53:25 +0300
Cc: Dmitri Vorobiev <dmitri.vorobiev@movial.com>
In-reply-to: <1238442806-11013-1-git-send-email-dmitri.vorobiev@movial.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1238442806-11013-1-git-send-email-dmitri.vorobiev@movial.com>
Sender: linux-mips-bounce@linux-mips.org
The following symbols are needlessly defined global: cpuerr_irq and
memerr_irq. This patch makes the symbols static.

Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.com>
---
 arch/mips/sgi-ip32/ip32-irq.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/mips/sgi-ip32/ip32-irq.c b/arch/mips/sgi-ip32/ip32-irq.c
index 0d6b666..7abd649 100644
--- a/arch/mips/sgi-ip32/ip32-irq.c
+++ b/arch/mips/sgi-ip32/ip32-irq.c
@@ -112,14 +112,14 @@ static void inline flush_mace_bus(void)
 extern irqreturn_t crime_memerr_intr(int irq, void *dev_id);
 extern irqreturn_t crime_cpuerr_intr(int irq, void *dev_id);
 
-struct irqaction memerr_irq = {
+static struct irqaction memerr_irq = {
        .handler = crime_memerr_intr,
        .flags = IRQF_DISABLED,
        .mask = CPU_MASK_NONE,
        .name = "CRIME memory error",
 };
 
-struct irqaction cpuerr_irq = {
+static struct irqaction cpuerr_irq = {
        .handler = crime_cpuerr_intr,
        .flags = IRQF_DISABLED,
        .mask = CPU_MASK_NONE,
-- 
1.5.6.3


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