mfd: Fix build warning on 88pm860x
authorHaojian Zhuang <haojian.zhuang@marvell.com>
Tue, 26 Apr 2011 09:06:22 +0000 (11:06 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 26 May 2011 17:45:21 +0000 (19:45 +0200)
commita5156f1adeeb0be7f8370c1d2e111bd1b082b578
treeab93001658898e1ecea73bd2b42b3372e9d87bc1
parent5d76ca3baaf5504779a59b2ad73b609b92e7e8dc
mfd: Fix build warning on 88pm860x

WARNING: vmlinux.o(.devinit.text+0x6c4): Section mismatch in reference
from the function device_onkey_init() to the (unknown reference)
.init.data:(unknown)
The function __devinit device_onkey_init() references a (unknown reference)
 __initdata (unknown).
If (unknown) is only used by device_onkey_init then annotate (unknown)
with a matching annotation.

It's caused by using __initdata on mfd cell resources. Replace __initdata
with __devinitdata.

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