Messages in this thread | | | Date | Mon, 22 Aug 2011 01:09:52 +0200 | From | Samuel Ortiz <> | Subject | Re: [PATCH v3] mfd:fix section mismatch warning in ab3550-core |
| |
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@cn.fujitsu.com> > Acked-by: Linus Walleij <linus.walleij@linaro.org> > Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Patch applied, thanks a lot.
Cheers, Samuel.
-- Intel Open Source Technology Centre http://oss.intel.com/ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |