Skip to content

Commit

Permalink
[MIPS] rbtx4938: Fix warnings
Browse files Browse the repository at this point in the history
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 <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Atsushi Nemoto authored and Ralf Baechle committed Jul 31, 2007
1 parent ade299d commit 004561d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/pci/fixup-tx4938.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 004561d

Please sign in to comment.