* [PATCH] rbtx4938: fix some warnings
@ 2007-07-27 16:03 Atsushi Nemoto
2007-07-27 17:11 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Atsushi Nemoto @ 2007-07-27 16:03 UTC (permalink / raw)
To: linux-mips; +Cc: ralf
This patch fixes:
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>
---
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);
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] rbtx4938: fix some warnings
2007-07-27 16:03 [PATCH] rbtx4938: fix some warnings Atsushi Nemoto
@ 2007-07-27 17:11 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2007-07-27 17:11 UTC (permalink / raw)
To: Atsushi Nemoto; +Cc: linux-mips
On Sat, Jul 28, 2007 at 01:03:41AM +0900, Atsushi Nemoto wrote:
Thanks, applied.
Ralf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-07-27 17:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-27 16:03 [PATCH] rbtx4938: fix some warnings Atsushi Nemoto
2007-07-27 17:11 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox