diff options
author | Dmitri Vorobiev <dmitri.vorobiev@movial.com> | 2009-03-30 15:53:25 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-05-14 08:50:25 -0400 |
commit | ae5373874a393d36d0fbc1a21c1b81e52736a4f2 (patch) | |
tree | 962ca170369e38f92adde3ba12b67f5336c7a9a3 /arch/mips | |
parent | 36a09d7848abf017ea11ea949372f46edc1350da (diff) |
MIPS: IP32: Fix needlessly global symbols in arch/mips/sgi-ip32/ip32-irq.c
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>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | 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 83a0b3c359da..5c2bf111ca67 100644 --- a/arch/mips/sgi-ip32/ip32-irq.c +++ b/arch/mips/sgi-ip32/ip32-irq.c | |||
@@ -112,13 +112,13 @@ static void inline flush_mace_bus(void) | |||
112 | extern irqreturn_t crime_memerr_intr(int irq, void *dev_id); | 112 | extern irqreturn_t crime_memerr_intr(int irq, void *dev_id); |
113 | extern irqreturn_t crime_cpuerr_intr(int irq, void *dev_id); | 113 | extern irqreturn_t crime_cpuerr_intr(int irq, void *dev_id); |
114 | 114 | ||
115 | struct irqaction memerr_irq = { | 115 | static struct irqaction memerr_irq = { |
116 | .handler = crime_memerr_intr, | 116 | .handler = crime_memerr_intr, |
117 | .flags = IRQF_DISABLED, | 117 | .flags = IRQF_DISABLED, |
118 | .name = "CRIME memory error", | 118 | .name = "CRIME memory error", |
119 | }; | 119 | }; |
120 | 120 | ||
121 | struct irqaction cpuerr_irq = { | 121 | static struct irqaction cpuerr_irq = { |
122 | .handler = crime_cpuerr_intr, | 122 | .handler = crime_cpuerr_intr, |
123 | .flags = IRQF_DISABLED, | 123 | .flags = IRQF_DISABLED, |
124 | .name = "CRIME CPU error", | 124 | .name = "CRIME CPU error", |