ssb: pcicore compile fix
PATCH 1/1 ssb: pcicore compile fix
From: Aurelien Jarno <[email protected]>
The patch below against 2.6.23-rc1-mm1 fixes the definition of pcibios_map_irq in the SSB code. The corresponding include file has been changed in commit 19df0d1169b3ddcc84933794d1401aaafe2f0000.
Signed-off-by Aurelien Jarno <[email protected]>
Signed-off-by Michael Buesch <[email protected]>
drivers/ssb/driver_pcicore.c renamed from drivers/ssb/driver_pcicore.c~ssb-compile-fix +1 -1
@@ -102,7 +102,7 @@ static void __init ssb_fixup_pcibridge(s }DECLARE_PCI_FIXUP_EARLY (PCI_ANY_ID ,PCI_ANY_ID , ssb_fixup_pcibridge); -int __init pcibios_map_irq (struct pci_dev *dev,u8 slot,u8 pin) +int __init pcibios_map_irq (const struct pci_dev *dev,u8 slot,u8 pin) {return ssb_mips_irq (extpci_core->dev) +2 ; }
_