WSL2-Linux-Kernel/arch/mips
Christoph Hellwig 4bf10fd51c 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 13:18:12 +02:00
..
alchemy MIPS: Alchemy: only build mmc support helpers if au1xmmc is enabled 2023-10-06 13:18:12 +02:00
ar7
ath25
ath79
bcm47xx MIPS: BCM47XX: Cast memcmp() of function to (void *) 2022-10-26 12:35:30 +02:00
bcm63xx MIPS: BCM63xx: Add check for NULL for clk in clk_enable 2022-12-31 13:14:05 +01:00
bmips mips: bmips: BCM6358: disable RAC flush for TP1 2023-04-05 11:24:54 +02:00
boot MIPS: DTS: CI20: fix otg power gpio 2023-03-10 09:40:12 +01:00
cavium-octeon MIPS: OCTEON: warn only once if deprecated link status is being used 2022-12-31 13:14:05 +01:00
cobalt
configs Remove DECnet support from kernel 2023-06-21 15:59:15 +02:00
crypto
dec
fw MIPS: fw: Allow firmware to pass a empty env 2023-05-11 23:00:17 +09:00
generic
include MIPS: cpu-features: Use boot_cpu_type for CPU type based features 2023-08-30 16:18:11 +02:00
ingenic
jazz
kernel mips/cpu: Switch to arch_cpu_finalize_init() 2023-08-08 19:58:30 +02:00
kvm MIPS: kvm: Fix build error with KVM_MIPS_DEBUG_COP0_COUNTERS enabled 2023-07-23 13:47:58 +02:00
lantiq MIPS: lantiq: export clk_get_io() for lantiq_wdt.ko 2022-09-28 11:11:48 +02:00
lib
loongson2ef
loongson32 MIPS: Loongson32: Fix PHY-mode being left unspecified 2022-09-28 11:11:48 +02:00
loongson64 MIPS: Loongson64: Add WARN_ON on kexec related kmalloc failed 2022-11-26 09:24:38 +01:00
math-emu
mm MIPS: tlbex: Explicitly compare _PAGE_NO_EXEC against 0 2022-08-25 11:40:46 +02:00
mti-malta
n64
net
netlogic
pci
pic32 MIPS: pic32: treat port as signed integer 2022-12-02 17:41:02 +01:00
power
ralink mips: ralink: mt7621: do not use kzalloc too early 2022-12-31 13:14:04 +01:00
rb532
sgi-ip22
sgi-ip27 MIPS: SGI-IP27: Fix platform-device leak in bridge_platform_create() 2022-10-26 12:34:37 +02:00
sgi-ip30
sgi-ip32
sibyte
sni
tools
txx9
vdso MIPS: Use "grep -E" instead of "egrep" 2023-09-23 11:10:00 +02:00
vr41xx
Kbuild
Kbuild.platforms
Kconfig mips/cpu: Switch to arch_cpu_finalize_init() 2023-08-08 19:58:30 +02:00
Kconfig.debug
Makefile MIPS: Use "grep -E" instead of "egrep" 2023-09-23 11:10:00 +02:00
Makefile.postlink