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>
This commit is contained in:
parent
1ba5a17674
commit
14823ccbf8
|
@ -68,7 +68,7 @@ static void enable_local1_irq(unsigned int irq)
|
|||
sgint->imask1 |= (1 << (irq - SGINT_LOCAL1));
|
||||
}
|
||||
|
||||
void disable_local1_irq(unsigned int irq)
|
||||
static void disable_local1_irq(unsigned int irq)
|
||||
{
|
||||
sgint->imask1 &= ~(1 << (irq - SGINT_LOCAL1));
|
||||
}
|
||||
|
@ -87,7 +87,7 @@ static void enable_local2_irq(unsigned int irq)
|
|||
sgint->cmeimask0 |= (1 << (irq - SGINT_LOCAL2));
|
||||
}
|
||||
|
||||
void disable_local2_irq(unsigned int irq)
|
||||
static void disable_local2_irq(unsigned int irq)
|
||||
{
|
||||
sgint->cmeimask0 &= ~(1 << (irq - SGINT_LOCAL2));
|
||||
if (!sgint->cmeimask0)
|
||||
|
@ -108,7 +108,7 @@ static void enable_local3_irq(unsigned int irq)
|
|||
sgint->cmeimask1 |= (1 << (irq - SGINT_LOCAL3));
|
||||
}
|
||||
|
||||
void disable_local3_irq(unsigned int irq)
|
||||
static void disable_local3_irq(unsigned int irq)
|
||||
{
|
||||
sgint->cmeimask1 &= ~(1 << (irq - SGINT_LOCAL3));
|
||||
if (!sgint->cmeimask1)
|
||||
|
|
Loading…
Reference in a new issue