From: Uwe Kleine-König Date: Wed, 7 Mar 2012 22:03:56 +0000 (+0100) Subject: ARM: davinci: DA850: move da850_register_pm to .init.text X-Git-Tag: v3.4-rc1~93^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30c766bdeccf945615097ca185326c1d7199f023;p=pandora-kernel.git ARM: davinci: DA850: move da850_register_pm to .init.text All callers (board-mityomapl138.c and board-da850-evm.c) use it in __init functions only. This fixes: WARNING: vmlinux.o(.text+0xd664): Section mismatch in reference from the function da850_register_pm() to the function .init.text:da8xx_get_mem_ctlr() The function da850_register_pm() references the function __init da8xx_get_mem_ctlr(). This is often because da850_register_pm lacks a __init annotation or the annotation of da8xx_get_mem_ctlr is wrong. Signed-off-by: Uwe Kleine-König Signed-off-by: Sekhar Nori --- Reading git-diff-tree failed