[POWERPC] Add new, missing argument to of_irq_map_raw() for 86xx.
authorJon Loeliger <jdl@freescale.com>
Fri, 1 Sep 2006 15:17:20 +0000 (10:17 -0500)
committerPaul Mackerras <paulus@samba.org>
Wed, 13 Sep 2006 08:28:28 +0000 (18:28 +1000)
Ben speaks; we follow.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/86xx/mpc86xx_hpcn.c

index 0b1b52168bb705204dc91dc04c3a9c2246eaf694..5e583cf387862744c0352bbd890b45eb4ee74d8e 100644 (file)
@@ -158,7 +158,7 @@ get_pci_irq_from_of(struct pci_controller *hose, int slot, int pin)
 
        laddr[0] = (hose->first_busno << 16) | (PCI_DEVFN(slot, 0) << 8);
        laddr[1] = laddr[2] = 0;
-       of_irq_map_raw(hosenode, &pin, laddr, &oirq);
+       of_irq_map_raw(hosenode, &pin, 1, laddr, &oirq);
        DBG("mpc86xx_hpcn: pci irq addr %x, slot %d, pin %d, irq %d\n",
                        laddr[0], slot, pin, oirq.specifier[0]);
        return oirq.specifier[0];