diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2009-06-01 18:53:53 +0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-06-02 05:09:12 +0400 |
commit | baf75b0a42a1b3f6fca80f8949b6141eaff61b0d (patch) | |
tree | afed08f6f106fe8191a6100ceb23ad9cec9a89af /arch/powerpc/configs/44x/arches_defconfig | |
parent | 92e02a5125a22a4da58090c94f520432da700d73 (diff) | |
download | linux-baf75b0a42a1b3f6fca80f8949b6141eaff61b0d.tar.xz |
powerpc/pci: Fix annotation of pcibios_claim_one_bus
It was __devinit, but it is also within a CONFIG_HOTPLUG guarded section
of code, so the __devinit does nothing but cause the following warning:
WARNING: vmlinux.o(.text+0x107a8): Section mismatch in reference from the function pcibios_finish_adding_to_bus() to the function .devinit.text:pcibios_claim_one_bus()
The function pcibios_finish_adding_to_bus() references
the function __devinit pcibios_claim_one_bus().
This is often because pcibios_finish_adding_to_bus lacks a __devinit
annotation or the annotation of pcibios_claim_one_bus is wrong.
It is also only (externally) used in arch/powerpc/kernel/of_platform.c
which cannot be built as a module so don't export it.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/configs/44x/arches_defconfig')
0 files changed, 0 insertions, 0 deletions