Browse Source

[POWRPC] CPM2: Eliminate section mismatch warning in cpm2_reset().

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Scott Wood 17 years ago
parent
commit
cd2150bca9
1 changed files with 1 additions and 2 deletions
  1. 1 2
      arch/powerpc/sysdev/cpm2_common.c

+ 1 - 2
arch/powerpc/sysdev/cpm2_common.c

@@ -61,8 +61,7 @@ cpm2_map_t __iomem *cpm2_immr;
 					   of space for CPM as it is larger
 					   of space for CPM as it is larger
 					   than on PQ2 */
 					   than on PQ2 */
 
 
-void
-cpm2_reset(void)
+void __init cpm2_reset(void)
 {
 {
 #ifdef CONFIG_PPC_85xx
 #ifdef CONFIG_PPC_85xx
 	cpm2_immr = ioremap(CPM_MAP_ADDR, CPM_MAP_SIZE);
 	cpm2_immr = ioremap(CPM_MAP_ADDR, CPM_MAP_SIZE);