mmc: davinci: remove extraneous __init annotation

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>
This commit is contained in:
Arnd Bergmann 2019-03-07 11:10:11 +01:00 committed by Ulf Hansson
parent e60a582bcd
commit 9ce58dd7d9
1 changed files with 1 additions and 1 deletions

View File

@ -1117,7 +1117,7 @@ static inline void mmc_davinci_cpufreq_deregister(struct mmc_davinci_host *host)
{ {
} }
#endif #endif
static void __init init_mmcsd_host(struct mmc_davinci_host *host) static void init_mmcsd_host(struct mmc_davinci_host *host)
{ {
mmc_davinci_reset_ctrl(host, 1); mmc_davinci_reset_ctrl(host, 1);