MIPS: Malta SMTC: Fix build.
authorRalf Baechle <ralf@linux-mips.org>
Fri, 27 May 2011 23:57:13 +0000 (00:57 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 20 Jul 2011 22:12:10 +0000 (23:12 +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 49a38b09a4883513a22c7a328488cd306ef7f1ad..1efc8c3944860d29a6861231ad5bcacd5e917a99 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);