diff options
Diffstat (limited to 'arch/mips/pci/fixup-tx4938.c')
-rw-r--r-- | arch/mips/pci/fixup-tx4938.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/pci/fixup-tx4938.c b/arch/mips/pci/fixup-tx4938.c index 2485f47dfe6f..f2ba06ee0c10 100644 --- a/arch/mips/pci/fixup-tx4938.c +++ b/arch/mips/pci/fixup-tx4938.c | |||
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | extern struct pci_controller tx4938_pci_controller[]; | 19 | extern struct pci_controller tx4938_pci_controller[]; |
20 | 20 | ||
21 | int pci_get_irq(struct pci_dev *dev, int pin) | 21 | static int pci_get_irq(const struct pci_dev *dev, int pin) |
22 | { | 22 | { |
23 | int irq = pin; | 23 | int irq = pin; |
24 | u8 slot = PCI_SLOT(dev->devfn); | 24 | u8 slot = PCI_SLOT(dev->devfn); |