diff options
author | Jon Loeliger <jdl@freescale.com> | 2006-09-01 11:17:20 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-09-13 04:28:28 -0400 |
commit | 20fb96e2aa009ae9892fde9ef7ffa82f56eebd11 (patch) | |
tree | 7e1cbaeb9dc72d1e332fe9a68435eb00ddda4e82 /arch/powerpc/platforms/86xx | |
parent | fb7d527c1aec5e224fb3a0772337f8b5e59eecd0 (diff) |
[POWERPC] Add new, missing argument to of_irq_map_raw() for 86xx.
Ben speaks; we follow.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/86xx')
-rw-r--r-- | arch/powerpc/platforms/86xx/mpc86xx_hpcn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c b/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c index 0b1b52168bb7..5e583cf38786 100644 --- a/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c +++ b/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c | |||
@@ -158,7 +158,7 @@ get_pci_irq_from_of(struct pci_controller *hose, int slot, int pin) | |||
158 | 158 | ||
159 | laddr[0] = (hose->first_busno << 16) | (PCI_DEVFN(slot, 0) << 8); | 159 | laddr[0] = (hose->first_busno << 16) | (PCI_DEVFN(slot, 0) << 8); |
160 | laddr[1] = laddr[2] = 0; | 160 | laddr[1] = laddr[2] = 0; |
161 | of_irq_map_raw(hosenode, &pin, laddr, &oirq); | 161 | of_irq_map_raw(hosenode, &pin, 1, laddr, &oirq); |
162 | DBG("mpc86xx_hpcn: pci irq addr %x, slot %d, pin %d, irq %d\n", | 162 | DBG("mpc86xx_hpcn: pci irq addr %x, slot %d, pin %d, irq %d\n", |
163 | laddr[0], slot, pin, oirq.specifier[0]); | 163 | laddr[0], slot, pin, oirq.specifier[0]); |
164 | return oirq.specifier[0]; | 164 | return oirq.specifier[0]; |