summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/cpm2_common.c
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2007-12-12 16:54:32 -0600
committerKumar Gala <galak@kernel.crashing.org>2007-12-13 22:44:38 -0600
commitcd2150bca97822609fabbb77063a1a20149f5657 (patch)
tree818573bb450a83d2cb6a968c81ddb6b02e279799 /arch/powerpc/sysdev/cpm2_common.c
parent9ac68d379e73e469b62149ee2dcc19547d3d992c (diff)
downloadblackbird-op-linux-cd2150bca97822609fabbb77063a1a20149f5657.tar.gz
blackbird-op-linux-cd2150bca97822609fabbb77063a1a20149f5657.zip
[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>
Diffstat (limited to 'arch/powerpc/sysdev/cpm2_common.c')
-rw-r--r--arch/powerpc/sysdev/cpm2_common.c3
1 files changed, 1 insertions, 2 deletions
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);
OpenPOWER on IntegriCloud