[PATCH] powerpc: fix annotation of pcibios_claim_one_bus
Michael Ellerman
michael at ellerman.id.au
Tue Jun 2 12:06:49 EST 2009
On Tue, 2009-06-02 at 10:53 +1000, Stephen Rothwell wrote:
> 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()
Isn't the real problem that the PCI hotplug code is not marked as
__devinit?
cheers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20090602/2108bbd4/attachment.pgp>
More information about the Linuxppc-dev
mailing list