Commit 89eacbd1 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by sanglipeng
Browse files

mmc: au1xmmc: force non-modular build and remove symbol_get usage

stable inclusion
from stable-v5.10.195
commit d90e5956c0ccd93e90cdf142353ce8ea4696eb64
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I95JOC

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=d90e5956c0ccd93e90cdf142353ce8ea4696eb64



--------------------------------

commit d4a5c59a upstream.

au1xmmc is split somewhat awkwardly into the main mmc subsystem driver,
and callbacks in platform_data that sit under arch/mips/ and are
always built in.  The latter than call mmc_detect_change through
symbol_get.  Remove the use of symbol_get by requiring the driver
to be built in.  In the future the interrupt handlers for card
insert/eject detection should probably be moved into the main driver,
and which point it can be built modular again.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarManuel Lauss <manuel.lauss@gmail.com>
Reviewed-by: default avatarArnd Bergmann <arnd@arndb.de>
[mcgrof: squashed in depends on MMC=y suggested by Arnd]
Signed-off-by: default avatarLuis Chamberlain <mcgrof@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 79d09a68
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment