From: Scott Wood Date: Wed, 12 Dec 2007 22:54:32 +0000 (-0600) Subject: [POWRPC] CPM2: Eliminate section mismatch warning in cpm2_reset(). X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=cd2150bca97822609fabbb77063a1a20149f5657;p=openwrt%2Fstaging%2Fblogic.git [POWRPC] CPM2: Eliminate section mismatch warning in cpm2_reset(). Signed-off-by: Scott Wood Signed-off-by: Kumar Gala --- diff --git a/arch/powerpc/sysdev/cpm2_common.c b/arch/powerpc/sysdev/cpm2_common.c index 859362fecb7c..c1d824032020 100644 --- a/arch/powerpc/sysdev/cpm2_common.c +++ b/arch/powerpc/sysdev/cpm2_common.c @@ -61,8 +61,7 @@ cpm2_map_t __iomem *cpm2_immr; of space for CPM as it is larger than on PQ2 */ -void -cpm2_reset(void) +void __init cpm2_reset(void) { #ifdef CONFIG_PPC_85xx cpm2_immr = ioremap(CPM_MAP_ADDR, CPM_MAP_SIZE);