[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>
This commit is contained in:
Ralf Baechle
2007-07-10 17:33:00 +01:00
parent 6b5bf50931
commit 19df0d1169
28 changed files with 29 additions and 28 deletions

View File

@@ -33,7 +33,7 @@
#include <asm/jmr3927/jmr3927.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)
{
unsigned char irq = pin;