acrn-kernel/arch/mips
Christoph Hellwig d3dc8acb60 MIPS: Alchemy: only build mmc support helpers if au1xmmc is enabled
[ Upstream commit ef8f8f04a0 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-10-06 14:56:45 +02:00
..
alchemy MIPS: Alchemy: only build mmc support helpers if au1xmmc is enabled 2023-10-06 14:56:45 +02:00
ar7
ath25
ath79
bcm47xx
bcm63xx
bmips
boot
cavium-octeon
cobalt
configs
crypto
dec
fw
generic
include MIPS: cpu-features: Use boot_cpu_type for CPU type based features 2023-08-30 16:10:58 +02:00
ingenic
jazz
kernel mips/cpu: Switch to arch_cpu_finalize_init() 2023-08-08 20:03:47 +02:00
kvm MIPS: kvm: Fix build error with KVM_MIPS_DEBUG_COP0_COUNTERS enabled 2023-07-23 13:49:50 +02:00
lantiq
lib
loongson2ef MIPS: Loongson: Move arch cflags to MIPS top level Makefile 2023-08-03 10:23:50 +02:00
loongson32
loongson64 MIPS: Loongson: Move arch cflags to MIPS top level Makefile 2023-08-03 10:23:50 +02:00
math-emu
mm
mti-malta
n64
net
pci
pic32
power
ralink
rb532
sgi-ip22
sgi-ip27
sgi-ip30
sgi-ip32
sibyte
sni
tools
txx9
vdso MIPS: Use "grep -E" instead of "egrep" 2023-09-23 11:11:08 +02:00
Kbuild
Kbuild.platforms
Kconfig Revert "MIPS: unhide PATA_PLATFORM" 2023-09-13 09:42:20 +02:00
Kconfig.debug
Makefile MIPS: Use "grep -E" instead of "egrep" 2023-09-23 11:11:08 +02:00
Makefile.postlink