Commit:     004561d3af67065215b9ddef22048c4d05467fb2
Parent:     ade299d899ed6553d1f4db321e207bb9905bea47
Author:     Atsushi Nemoto <[EMAIL PROTECTED]>
AuthorDate: Sat Jul 28 01:03:41 2007 +0900
Committer:  Ralf Baechle <[EMAIL PROTECTED]>
CommitDate: Tue Jul 31 21:35:23 2007 +0100

    [MIPS] rbtx4938: Fix warnings
    linux/arch/mips/pci/fixup-tx4938.c:21:5: warning: symbol 'pci_get_irq' was 
not declared. Should it be static?
    linux/arch/mips/pci/fixup-tx4938.c:76: warning: passing argument 1 of 
'pci_get_irq' discards qualifiers from pointer target type
    Signed-off-by: Atsushi Nemoto <[EMAIL PROTECTED]>
    Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]>
 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 2485f47..f2ba06e 100644
--- a/arch/mips/pci/fixup-tx4938.c
+++ b/arch/mips/pci/fixup-tx4938.c
@@ -18,7 +18,7 @@
 extern struct pci_controller tx4938_pci_controller[];
-int pci_get_irq(struct pci_dev *dev, int pin)
+static int pci_get_irq(const struct pci_dev *dev, int pin)
        int irq = pin;
        u8 slot = PCI_SLOT(dev->devfn);
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to