1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-19 15:05:12 +01:00

bcm47xx: Fix warning arch/mips/bcm947xx/irq.c: In function 'pcibios_map_irq': arch/mips/bcm947xx/irq.c:78: warning: passing argument 1 of 'pci_name' discards qualifiers from pointer target type

SVN-Revision: 10626
This commit is contained in:
Michael Büsch 2008-03-19 11:55:31 +00:00
parent 68523387b3
commit 2aefffe565

@ -76,7 +76,7 @@ int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
res = ssb_pcibios_map_irq(dev, slot, pin);
if (res < 0) {
printk(KERN_ALERT "PCI: Failed to map IRQ of device %s\n",
pci_name((struct pci_dev *)dev));
dev->dev.bus_id);
return 0;
}
/* IRQ-0 and IRQ-1 are software interrupts. */