From: Wanlong Gao Date: Thu, 4 Aug 2011 04:32:31 +0000 (+0800) Subject: mfd: Fix section mismatch warning in ab3550-core X-Git-Tag: v3.2-rc1~72^2~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d036c96e703c176250503194f4fcd8b96e606b52;p=pandora-kernel.git mfd: Fix section mismatch warning in ab3550-core This patch fixes: WARNING: drivers/mfd/built-in.o(.data+0x9998): Section mismatch in reference from the variable ab3550_driver to the function .init.text:ab3550_probe() The variable ab3550_driver references the function __init ab3550_probe() If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console Signed-off-by: Wanlong Gao Acked-by: Linus Walleij Acked-by: Uwe Kleine-König Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed