[MIPS] PCI: Make dev pointer argument of pcibios_map_irq const.

This is to break the code of people who think they are supposed to scribble
into the pci device structure - it's off limits.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Esse commit está contido em:
Ralf Baechle
2007-07-10 17:33:00 +01:00
commit 19df0d1169
28 arquivos alterados com 29 adições e 28 exclusões

Ver arquivo

@@ -23,7 +23,7 @@
#include <asm/vr41xx/tb0219.h>
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)
{
int irq = -1;