PCI: Remove __devinit from pcibios_get_irq_routing_table
authorRalf Baechle <ralf@linux-mips.org>
Thu, 23 Aug 2007 18:45:49 +0000 (19:45 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 Sep 2007 11:22:16 +0000 (04:22 -0700)
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/i386/pci/pcbios.c

index 5f51934..10ac8c3 100644 (file)
@@ -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;