OSDN Git Service

ARM: ks8695: fix section mismatch warning
authorArnd Bergmann <arnd@arndb.de>
Mon, 10 Dec 2018 21:58:38 +0000 (22:58 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Dec 2019 08:20:02 +0000 (09:20 +0100)
commitd411bd85844737769af3b6cde193c84aac1422b5
tree9bc588d41d5fce8b7d6bf9e20fbec168cae21f0c
parent22227437ca68262144031a8077a8addab5f2af37
ARM: ks8695: fix section mismatch warning

[ Upstream commit 4aa64677330beeeed721b4b122884dabad845d66 ]

WARNING: vmlinux.o(.text+0x13250): Section mismatch in reference from the function acs5k_i2c_init() to the (unknown reference) .init.data:(unknown)
The function acs5k_i2c_init() references
the (unknown reference) __initdata (unknown).
This is often because acs5k_i2c_init lacks a __initdata
annotation or the annotation of (unknown) is wrong.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/mach-ks8695/board-acs5k.c