From: Russell King - ARM Linux Date: Wed, 8 Feb 2012 16:38:09 +0000 (+0000) Subject: ARM: omap: fix section mismatch errors in TWL PMIC driver X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37f49d446e15bdebec75c9dd5accf9794fbf2540;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. Signed-off-by: Russell King --- Reading git-diff-tree failed