aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorDmitri Vorobiev <dmitri.vorobiev@movial.fi>2008-10-24 18:46:56 -0400
committerRalf Baechle <ralf@linux-mips.org>2008-10-27 12:18:28 -0400
commit14823ccbf8c3209a84a544e846feaf886cb59be9 (patch)
tree283520d194a99984846efe7444e41dc104d3b551 /arch/mips
parent1ba5a1767416cfa4fa37096e160e764c56e1460a (diff)
MIPS: IP22: Small cleanups
The following functions disable_local1_irq() disable_local2_irq() disable_local3_irq() are needlessly defined global, so make them static. While at it, fix a whitespace error in the same file. Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/sgi-ip22/ip22-int.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/mips/sgi-ip22/ip22-int.c b/arch/mips/sgi-ip22/ip22-int.c
index f6d9bf4b26e7..d0614811e400 100644
--- a/arch/mips/sgi-ip22/ip22-int.c
+++ b/arch/mips/sgi-ip22/ip22-int.c
@@ -68,7 +68,7 @@ static void enable_local1_irq(unsigned int irq)
68 sgint->imask1 |= (1 << (irq - SGINT_LOCAL1)); 68 sgint->imask1 |= (1 << (irq - SGINT_LOCAL1));
69} 69}
70 70
71void disable_local1_irq(unsigned int irq) 71static void disable_local1_irq(unsigned int irq)
72{ 72{
73 sgint->imask1 &= ~(1 << (irq - SGINT_LOCAL1)); 73 sgint->imask1 &= ~(1 << (irq - SGINT_LOCAL1));
74} 74}
@@ -87,7 +87,7 @@ static void enable_local2_irq(unsigned int irq)
87 sgint->cmeimask0 |= (1 << (irq - SGINT_LOCAL2)); 87 sgint->cmeimask0 |= (1 << (irq - SGINT_LOCAL2));
88} 88}
89 89
90void disable_local2_irq(unsigned int irq) 90static void disable_local2_irq(unsigned int irq)
91{ 91{
92 sgint->cmeimask0 &= ~(1 << (irq - SGINT_LOCAL2)); 92 sgint->cmeimask0 &= ~(1 << (irq - SGINT_LOCAL2));
93 if (!sgint->cmeimask0) 93 if (!sgint->cmeimask0)
@@ -108,7 +108,7 @@ static void enable_local3_irq(unsigned int irq)
108 sgint->cmeimask1 |= (1 << (irq - SGINT_LOCAL3)); 108 sgint->cmeimask1 |= (1 << (irq - SGINT_LOCAL3));
109} 109}
110 110
111void disable_local3_irq(unsigned int irq) 111static void disable_local3_irq(unsigned int irq)
112{ 112{
113 sgint->cmeimask1 &= ~(1 << (irq - SGINT_LOCAL3)); 113 sgint->cmeimask1 &= ~(1 << (irq - SGINT_LOCAL3));
114 if (!sgint->cmeimask1) 114 if (!sgint->cmeimask1)
@@ -344,6 +344,6 @@ void __init arch_init_irq(void)
344 344
345#ifdef CONFIG_EISA 345#ifdef CONFIG_EISA
346 if (ip22_is_fullhouse()) /* Only Indigo-2 has EISA stuff */ 346 if (ip22_is_fullhouse()) /* Only Indigo-2 has EISA stuff */
347 ip22_eisa_init(); 347 ip22_eisa_init();
348#endif 348#endif
349} 349}