]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mfd: Fix section mismatch warning in ab3550-core
authorWanlong Gao <gaowanlong@cn.fujitsu.com>
Thu, 4 Aug 2011 04:32:31 +0000 (12:32 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 21 Sep 2011 10:47:37 +0000 (12:47 +0200)
commit75e78af0fce2ec45655421033aa5b45ec8dd89df
tree7545c693f16291d187aeaa4fa678a4098094af06
parent38867a28a7dc9d69389990bcd42f6b7c77da3d9d
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 <gaowanlong@cn.fujitsu.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/ab3550-core.c