mmc: au1xmmc: force non-modular build and remove symbol_get usage
authorChristoph Hellwig <hch@lst.de>
Tue, 1 Aug 2023 17:35:41 +0000 (19:35 +0200)
committerLuis Chamberlain <mcgrof@kernel.org>
Wed, 2 Aug 2023 18:17:35 +0000 (11:17 -0700)
commitd4a5c59a955bba96b273ec1a5885bada24c56979
tree62a0fd6bb75bc67cee0a8d4fe3bbc2cfdfdb4358
parent0faa29c4207e6e29cfc81b427df60e326c37083a
mmc: au1xmmc: force non-modular build and remove symbol_get usage

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: Christoph Hellwig <hch@lst.de>
Acked-by: Manuel Lauss <manuel.lauss@gmail.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
[mcgrof: squashed in depends on MMC=y suggested by Arnd]
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
arch/mips/alchemy/devboards/db1000.c
arch/mips/alchemy/devboards/db1200.c
arch/mips/alchemy/devboards/db1300.c
drivers/mmc/host/Kconfig