pcibios_finish_adding_to_bus() is NOT annotated __devinit but it calls pcibios_claim_one_bus(). pcibios_finish_adding_to_bus() is called from at least the rpadlpar code which also is NOT annotated __devinit.
The annotation seems bogus so remove it. Found by Jeremy Huddleston a reported at: http://bugzilla.kernel.org/show_bug.cgi?id=13228 Signed-off-by: Tony Breeds <t...@bakeyournoodle.com> --- arch/powerpc/kernel/pci-common.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c index 0f41812..a9f988f 100644 --- a/arch/powerpc/kernel/pci-common.c +++ b/arch/powerpc/kernel/pci-common.c @@ -1469,7 +1469,7 @@ void __init pcibios_resource_survey(void) * rest of the code later, for now, keep it as-is as our main * resource allocation function doesn't deal with sub-trees yet. */ -void __devinit pcibios_claim_one_bus(struct pci_bus *bus) +void pcibios_claim_one_bus(struct pci_bus *bus) { struct pci_dev *dev; struct pci_bus *child_bus; -- 1.6.0.6 _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev