mfd: 88pm860x: Fix section mismatch warning
authorHaojian Zhuang <haojian.zhuang@gmail.com>
Tue, 11 Sep 2012 14:09:55 +0000 (22:09 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 14 Sep 2012 07:52:15 +0000 (09:52 +0200)
commit50b381b72bf080dc10d20f5d33486488bf737bbc
treecd5fa97bfbb67e4d5ac2765f76581dc6a6fffa4b
parentb079fa72069ba7f754ba8bdf737335abdb971b67
mfd: 88pm860x: Fix section mismatch warning

WARNING: drivers/built-in.o(.data+0x1e3c8): Section mismatch in
reference from the variable bk_devs to the variable
.devinit.data:bk0_resources
The variable bk_devs references
the variable __devinitdata bk0_resources
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the
variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one,
*_console

So add __devinitdata on bk_devs, led_devs & reg_devs.

Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/88pm860x-core.c