Skip to contentSkip to conversation

PCI: Remove __devinit from pcibios_get_irq_routing_table

i386 Ralf Baechle 1 participant 1 message Aug 23, 2007

lore
Share & tools
lore
#0 lore raw

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')

arch/i386/pci/pcbios.c +1 -1
index 5f51934..10ac8c3 100644
@@ -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;