OpenCloudOS-Kernel/arch/mips/alchemy
Christoph Hellwig ef8f8f04a0 MIPS: Alchemy: only build mmc support helpers if au1xmmc is enabled
While commit d4a5c59a95 ("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: d4a5c59a95 ("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>
2023-09-25 11:43:55 +02:00
..
common Merge 6.4-rc5 into tty-next 2023-06-05 07:41:04 +02:00
devboards MIPS: Alchemy: only build mmc support helpers if au1xmmc is enabled 2023-09-25 11:43:55 +02:00
Kconfig MIPS: Alchemy: Enable PATA_PLATFORM support 2023-06-09 09:53:11 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Platform MIPS: Only include the platform file needed 2020-05-13 00:17:18 +02:00
board-gpr.c MIPS: alchemy: Share prom_init implementation 2020-10-06 12:33:57 +02:00
board-mtx1.c MIPS: alchemy: Share prom_init implementation 2020-10-06 12:33:57 +02:00
board-xxs1500.c MIPS: alchemy: xxs1500: add gpio-au1000.h header file 2021-05-25 15:16:23 +02:00