aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx
diff options
context:
space:
mode:
authorMichael Büsch <mb@bu3sch.de>2008-03-19 11:55:31 +0000
committerMichael Büsch <mb@bu3sch.de>2008-03-19 11:55:31 +0000
commit2aefffe565f64afec1c304eae374d13c58279c3f (patch)
treef150f4cfcfab24114bb2066312870aa514983546 /target/linux/brcm47xx
parent68523387b35c1cd3cbac5a39aec3cef0df84b5de (diff)
downloadupstream-2aefffe565f64afec1c304eae374d13c58279c3f.tar.gz
upstream-2aefffe565f64afec1c304eae374d13c58279c3f.tar.bz2
upstream-2aefffe565f64afec1c304eae374d13c58279c3f.zip
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
Diffstat (limited to 'target/linux/brcm47xx')
-rw-r--r--target/linux/brcm47xx/files/arch/mips/bcm947xx/irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm47xx/files/arch/mips/bcm947xx/irq.c b/target/linux/brcm47xx/files/arch/mips/bcm947xx/irq.c
index c6b85a959f..d707894353 100644
--- a/target/linux/brcm47xx/files/arch/mips/bcm947xx/irq.c
+++ b/target/linux/brcm47xx/files/arch/mips/bcm947xx/irq.c
@@ -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. */