[POWRPC] CPM2: Eliminate section mismatch warning in cpm2_reset().
authorScott Wood <scottwood@freescale.com>
Wed, 12 Dec 2007 22:54:32 +0000 (16:54 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 14 Dec 2007 04:44:38 +0000 (22:44 -0600)
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/sysdev/cpm2_common.c

index 859362fecb7c659a6e546ef92dc5610b843109ea..c1d82403202084c5e39e7061f488b6113aafbf3e 100644 (file)
@@ -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);