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

Linus Walleij linus.walleij at linaro.org
Wed Aug 3 06:19:06 EDT 2011


On Wed, Aug 3, 2011 at 10:57 AM, Wanlong Gao <gaowanlong at cn.fujitsu.com> wrote:

> 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>

Thanks!
Linus Walleij



More information about the linux-arm-kernel mailing list