Files
android_kernel_xiaomi_sm8450/arch/powerpc/kernel
Heiko Schocher 0f6023d599 powerpc/pci: Fix MODPOST warning
making a powerpc target with PCI support, shows the
following warning:

  MODPOST vmlinux.o
WARNING: vmlinux.o(.text+0x10430): Section mismatch in reference from the
function pcibios_allocate_bus_resources() to the function .init.text:reparent_resources()

The function pcibios_allocate_bus_resources() references
the function __init reparent_resources().

This is often because pcibios_allocate_bus_resources lacks a __init
annotation or the annotation of reparent_resources is wrong.

This patch fix this warning by removing the __init
annotation before reparent_resources.

Signed-off-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2009-10-14 16:58:40 +11:00
..
2007-05-11 05:38:25 -04:00
2008-06-30 22:31:00 +10:00
2009-08-28 14:24:10 +10:00
2008-05-23 22:43:11 +02:00
2009-10-14 16:58:40 +11:00
2009-07-12 12:22:34 -07:00
2008-12-21 14:21:16 +11:00
2009-09-23 18:13:10 -07:00
2007-10-11 14:36:47 +10:00