From: Ralf Baechle Date: Thu, 23 Aug 2007 18:45:49 +0000 (+0100) Subject: PCI: Remove __devinit from pcibios_get_irq_routing_table X-Git-Tag: v2.6.23-rc7~97^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4dd5bb987367d791e10e716538d83edb24c0817d;p=platform%2Fkernel%2Flinux-3.10.git PCI: Remove __devinit from pcibios_get_irq_routing_table 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 Signed-off-by: Greg Kroah-Hartman --- 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;