[PATCH v3] mfd:fix section mismatch warning in ab3550-core

Samuel Ortiz sameo at linux.intel.com
Sun Aug 21 19:09:52 EDT 2011


Hi Gao,

On Thu, Aug 04, 2011 at 12:32:31PM +0800, Wanlong Gao wrote:
> 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 <gaowanlong at cn.fujitsu.com>
> Acked-by: Linus Walleij <linus.walleij at linaro.org>
> Acked-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>

Patch applied, thanks a lot.

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/



More information about the linux-arm-kernel mailing list