From: Heiko Schocher Date: Thu, 24 Sep 2009 02:45:14 +0000 (+0000) Subject: powerpc/pci: Fix MODPOST warning X-Git-Tag: v2.6.32-rc5~5^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f6023d5997bf1b5eeae39de42a7e1e26dbe6a90;p=pandora-kernel.git 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 Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed