[PATCH v2] mfd:fix section mismatch warning in ab3550-core
Uwe Kleine-König
u.kleine-koenig at pengutronix.de
Wed Aug 3 07:43:05 EDT 2011
On Wed, Aug 03, 2011 at 12:19:06PM +0200, Linus Walleij wrote:
> On Wed, Aug 3, 2011 at 10:57 AM, Wanlong Gao <gaowanlong at cn.fujitsu.com> wrote:
>
Maybe add "This patch fixes:" before the actual warning?
> > 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>
other than that, aol:
Acked-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
More information about the linux-arm-kernel
mailing list