]> git.ipfire.org Git - people/arne_f/kernel.git/commit
mmc: davinci: remove extraneous __init annotation
authorArnd Bergmann <arnd@arndb.de>
Thu, 7 Mar 2019 10:10:11 +0000 (11:10 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Apr 2019 07:15:55 +0000 (09:15 +0200)
commit94a6f47a5ecb25a85cb561d392d32ed6d335acda
tree24c024c6298ad3f9ae8f072520c67ac39b173400
parentf596ad9ea8a436fe2ebd902125d9c474a995d018
mmc: davinci: remove extraneous __init annotation

[ Upstream commit 9ce58dd7d9da3ca0d7cb8c9568f1c6f4746da65a ]

Building with clang finds a mistaken __init tag:

WARNING: vmlinux.o(.text+0x5e4250): Section mismatch in reference from the function davinci_mmcsd_probe() to the function .init.text:init_mmcsd_host()
The function davinci_mmcsd_probe() references
the function __init init_mmcsd_host().
This is often because davinci_mmcsd_probe lacks a __init
annotation or the annotation of init_mmcsd_host is wrong.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Wolfram Sang <wsa@the-dreams.de>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mmc/host/davinci_mmc.c