MIPS: MSP71xx: Fix build error.
authorRalf Baechle <ralf@linux-mips.org>
Thu, 28 Jul 2011 12:31:48 +0000 (13:31 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 21 Sep 2011 15:52:44 +0000 (17:52 +0200)
  CC      arch/mips/pmc-sierra/msp71xx/msp_irq.o
/home/ralf/src/linux/linux-mips/arch/mips/pmc-sierra/msp71xx/msp_irq.c:112:2: error: request for member ‘flags’ in something not a structure or union
/home/ralf/src/linux/linux-mips/arch/mips/pmc-sierra/msp71xx/msp_irq.c:118:2: error: request for member ‘flags’ in something not a structure or union
make[4]: *** [arch/mips/pmc-sierra/msp71xx/msp_irq.o] Error 1

caused by 57336bc1056798d89714b7fb1b1d197e6bda6819 [MIPS: Mark cascade and
low level interrupts IRQF_NO_THREAD].

Commas to separate struct initializers generally are considered useful to
enhance the compilation experience of the user.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/pmc-sierra/msp71xx/msp_irq.c

index 42a4c04e21d545b83ea6ab4dc8dbe671cd434608..d3c3d81757a538ea13ee3ab56942d1aeea00df3c 100644 (file)
@@ -108,13 +108,13 @@ asmlinkage void plat_irq_dispatch(struct pt_regs *regs)
 
 static struct irqaction cic_cascade_msp = {
        .handler = no_action,
-       .name    = "MSP CIC cascade"
+       .name    = "MSP CIC cascade",
        .flags   = IRQF_NO_THREAD,
 };
 
 static struct irqaction per_cascade_msp = {
        .handler = no_action,
-       .name    = "MSP PER cascade"
+       .name    = "MSP PER cascade",
        .flags   = IRQF_NO_THREAD,
 };