From: Ralf Baechle Date: Thu, 23 Aug 2007 13:12:56 +0000 (+0100) Subject: [MIPS] PCI: Remove __devinit attribute from pcibios_fixup_bus. X-Git-Tag: Ubuntu-5.2.0-15.16~41908^2~8 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=4547d224d29a6a9a81df91858c2e26b7f88e02e1;p=mirror_ubuntu-eoan-kernel.git [MIPS] PCI: Remove __devinit attribute from pcibios_fixup_bus. Since 96bde06a2df1b363206d3cdef53134b84ff37813 pcibios_fixup_bus's caller pci_scan_child_bus is no longer marked __devinit resulting in this modpost warning if PCI && !HOTPLUG: MODPOST vmlinux.o WARNING: vmlinux.o(.text+0x158b9c): Section mismatch: reference to .init.text:pcibios_fixup_bus (between 'pci_scan_child_bus' and 'pci_scan_bus_parented') Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/pci/pci.c b/arch/mips/pci/pci.c index 99d8f4fd3ff4..6c2da625a102 100644 --- a/arch/mips/pci/pci.c +++ b/arch/mips/pci/pci.c @@ -251,7 +251,7 @@ static void __devinit pcibios_fixup_device_resources(struct pci_dev *dev, } } -void __devinit pcibios_fixup_bus(struct pci_bus *bus) +void pcibios_fixup_bus(struct pci_bus *bus) { /* Propagate hose info into the subordinate devices. */