Skip to contentSkip to conversation

ssb: pcicore compile fix

PATCH New Michael Buesch 1 participant 1 message Aug 9, 2007 Sonics silicon backplane driver (ssb)

lore
Share & tools
lore
#0 lore raw

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.

drivers/ssb/driver_pcicore.c renamed from drivers/ssb/driver_pcicore.c~ssb-compile-fix +1 -1
diff -puN drivers/ssb/driver_pcicore.c~ssb-compile-fix drivers/ssb/driver_pcicore.c
@@ -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;
 }

_