public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [i386] PCI: Remove __devinit from pcibios_get_irq_routing_table
@ 2007-08-23 18:45 Ralf Baechle
  0 siblings, 0 replies; only message in thread
From: Ralf Baechle @ 2007-08-23 18:45 UTC (permalink / raw)
  To: linux-kernel, Andrew Morton, gregkh, linux-pci

pcibios_get_irq_routing_table is an exported symbol.  This results in a
modpost warning:

WARNING: vmlinux.o(.text+0xdca51): Section mismatch: reference to .init.text:pcibios_fixup_bus (between 'pci_scan_child_bus' and 'pci_scan_bus_parented')

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

diff --git a/arch/i386/pci/pcbios.c b/arch/i386/pci/pcbios.c
index 5f51934..10ac8c3 100644
--- a/arch/i386/pci/pcbios.c
+++ b/arch/i386/pci/pcbios.c
@@ -412,7 +412,7 @@ struct irq_routing_options {
 	u16 segment;
 } __attribute__((packed));
 
-struct irq_routing_table * __devinit pcibios_get_irq_routing_table(void)
+struct irq_routing_table * pcibios_get_irq_routing_table(void)
 {
 	struct irq_routing_options opt;
 	struct irq_routing_table *rt = NULL;

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-08-23 18:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-23 18:45 [i386] PCI: Remove __devinit from pcibios_get_irq_routing_table Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox