From: Russell King Date: Tue, 7 Feb 2012 10:00:34 +0000 (+0000) Subject: ARM: omap: fix section mismatch errors in TWL PMIC driver X-Git-Tag: v3.3-rc4~28^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0bb10e86642064f6cec9e23f523127e5cfbe609;p=pandora-kernel.git ARM: omap: fix section mismatch errors in TWL PMIC driver WARNING: drivers/mfd/built-in.o(.devinit.text+0x258): Section mismatch in reference from the function twl_probe() to the function .init.text:twl4030_power_init() The function __devinit twl_probe() references a function __init twl4030_power_init(). If twl4030_power_init is only used by twl_probe then annotate twl4030_power_init with a matching annotation. twl4030_power_init() references other __init marked functions, so these too must become __devinit. Acked-by: Tony Lindgren Signed-off-by: Russell King --- Reading git-diff-tree failed