diff options
Diffstat (limited to 'arch/mips/pci/pci-bcm1480.c')
-rw-r--r-- | arch/mips/pci/pci-bcm1480.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/pci/pci-bcm1480.c b/arch/mips/pci/pci-bcm1480.c index d7b9e1349f6d..2b4e30c7d105 100644 --- a/arch/mips/pci/pci-bcm1480.c +++ b/arch/mips/pci/pci-bcm1480.c | |||
@@ -74,8 +74,9 @@ static inline void WRITECFG32(u32 addr, u32 data) | |||
74 | *(u32 *)(cfg_space + (addr & ~3)) = data; | 74 | *(u32 *)(cfg_space + (addr & ~3)) = data; |
75 | } | 75 | } |
76 | 76 | ||
77 | int pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin) | 77 | int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) |
78 | { | 78 | { |
79 | This is b0rked. | ||
79 | return dev->irq; | 80 | return dev->irq; |
80 | } | 81 | } |
81 | 82 | ||