From: Rakib Mullick Date: Sun, 19 Apr 2009 02:56:49 +0000 (+0600) Subject: mfd: Mark clocks_init as non-init in twl4030-core.c X-Git-Tag: v2.6.31-rc1~282^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04ffa1316ba47e5cea9dc2f01efbb67f9de36bc9;p=pandora-kernel.git mfd: Mark clocks_init as non-init in twl4030-core.c Impact: Fix section mismatch. clocks_init() has been called from twl4030_probe() which is a non-init function. Since probing can be done anytime so clocks_init will be called anytime too. So we mark clock_init() as non-init. LD drivers/mfd/built-in.o WARNING: drivers/mfd/built-in.o(.text+0x8dd9): Section mismatch in reference from the function twl4030_probe() to the function .init.text:clocks_init() The function twl4030_probe() references the function __init clocks_init(). This is often because twl4030_probe lacks a __init annotation or the annotation of clocks_init is wrong. Signed-off-by: Rakib Mullick Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed