Skip to contentSkip to conversation

Eliminate section mismatch warning in cpm2_reset().

PATCH In review Scott Wood 1 participant 1 message Dec 12, 2007 PowerPC

lore
Share & tools
lore

Scott Wood

author
#0 lore raw

PATCH v2 3/3 Eliminate section mismatch warning in cpm2_reset().

---
 arch/powerpc/sysdev/cpm2_common.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
arch/powerpc/sysdev/cpm2_common.c +1 -2
index 859362f..c1d8240 100644
@@ -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);
Signature · 1 line
1.5.3.7