MIPS: Malta SMTC: Fix build.
Ralf Baechle [Fri, 27 May 2011 23:57:13 +0000 (00:57 +0100)]
Commit a561b02a2577aec51277ba39c82bd192a79c0267 (lmo) rsp.
7c8d948f1633da5ff81e4f5b31ef237d74c40127 (kernel.org) ["MIPS: i8259: Convert
to new irq_chip functions"] missed one location to modify resulting in
build breakage.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

arch/mips/mti-malta/malta-smtc.c

index 49a38b0..1efc8c3 100644 (file)
@@ -152,7 +152,7 @@ int plat_set_irq_affinity(struct irq_data *d, const struct cpumask *affinity,
                 * runtime code can anyway deal with the null set
                 */
                printk(KERN_WARNING
-                       "IRQ affinity leaves no legal CPU for IRQ %d\n", irq);
+                      "IRQ affinity leaves no legal CPU for IRQ %d\n", d->irq);
 
        /* Do any generic SMTC IRQ affinity setup */
        smtc_set_irq_affinity(d->irq, tmask);