android_kernel_xiaomi_sm8350/arch/mips/alchemy
Christoph Hellwig 6938a6cbe6 MIPS: Alchemy: only build mmc support helpers if au1xmmc is enabled
[ Upstream commit ef8f8f04a0b25e8f294b24350e8463a8d6a9ba0b ]

While commit d4a5c59a955b ("mmc: au1xmmc: force non-modular build and
remove symbol_get usage") to be built in, it can still build a kernel
without MMC support and thuse no mmc_detect_change symbol at all.

Add ifdefs to build the mmc support code in the alchemy arch code
conditional on mmc support.

Fixes: d4a5c59a955b ("mmc: au1xmmc: force non-modular build and remove symbol_get usage")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-10-10 21:46:38 +02:00
..
common Revert "MIPS: Alchemy: fix dbdma2" 2023-09-02 09:19:19 +02:00
devboards MIPS: Alchemy: only build mmc support helpers if au1xmmc is enabled 2023-10-10 21:46:38 +02:00
board-gpr.c
board-mtx1.c
board-xxs1500.c
Kconfig
Makefile
Platform