]> 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>
Thu, 6 Oct 2011 14:43:54 +0000 (16:43 +0200)
commit5467ed05a6e2b5d9f5cce3f6bdfa1a664c3889f5
tree9c599f7d64a3a9bc8fb06a7228d905c5b77e6c02
parent976d167615b64e14bc1491ca51d424e2ba9a5e84
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