* [PATCH] Fix gcc warning in arch/mips/pci/pci.c
@ 2007-07-12 16:16 Atsushi Nemoto
2007-07-12 16:05 ` Ralf Baechle
0 siblings, 1 reply; 3+ messages in thread
From: Atsushi Nemoto @ 2007-07-12 16:16 UTC (permalink / raw)
To: linux-mips; +Cc: ralf
Now pcibios_map_irq() takes a const pointer. Cast it to adapt
pci_fixup_irqs().
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
---
diff --git a/arch/mips/pci/pci.c b/arch/mips/pci/pci.c
index 67e01fd..ecfb144 100644
--- a/arch/mips/pci/pci.c
+++ b/arch/mips/pci/pci.c
@@ -160,7 +160,8 @@ static int __init pcibios_init(void)
if (!pci_probe_only)
pci_assign_unassigned_resources();
- pci_fixup_irqs(common_swizzle, pcibios_map_irq);
+ pci_fixup_irqs(common_swizzle,
+ (int (*)(struct pci_dev *, u8, u8))pcibios_map_irq);
if ((dev = pci_get_class(PCI_CLASS_BRIDGE_EISA << 8, NULL)) != NULL ||
(dev = pci_get_class(PCI_CLASS_BRIDGE_ISA << 8, NULL)) != NULL) {
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-07-12 16:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-12 16:16 [PATCH] Fix gcc warning in arch/mips/pci/pci.c Atsushi Nemoto
2007-07-12 16:05 ` Ralf Baechle
2007-07-12 16:29 ` Atsushi Nemoto
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.