summaryrefslogtreecommitdiffstats
path: root/arch/mips/pci
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2007-07-25 00:53:40 +0900
committerRalf Baechle <ralf@linux-mips.org>2007-07-31 21:35:21 +0100
commit8449d399d288c21a643a7e8834c0043db24d24d8 (patch)
tree949ebcb3c6c8a0396f4f0f8bdf38fc3c87d33763 /arch/mips/pci
parentd4414cc48baa529311e9326c8bb13c1264c04122 (diff)
downloadlinux-8449d399d288c21a643a7e8834c0043db24d24d8.tar.gz
linux-8449d399d288c21a643a7e8834c0043db24d24d8.tar.bz2
linux-8449d399d288c21a643a7e8834c0043db24d24d8.zip
[MIPS] rbtx4927: Fix some gcc warnings and a section mismatch.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/pci')
-rw-r--r--arch/mips/pci/fixup-rbtx4927.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/pci/fixup-rbtx4927.c b/arch/mips/pci/fixup-rbtx4927.c
index 3cdbecb8e714..7450c335b387 100644
--- a/arch/mips/pci/fixup-rbtx4927.c
+++ b/arch/mips/pci/fixup-rbtx4927.c
@@ -79,7 +79,7 @@ static unsigned char backplane_pci_irq[4][4] = {
TX4927_IRQ_IOC_PCIC}
};
-int pci_get_irq(struct pci_dev *dev, int pin)
+static int pci_get_irq(const struct pci_dev *dev, int pin)
{
unsigned char irq = pin;