diff options
author | Christoph Hellwig | 2023-09-05 09:06:56 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2023-10-06 14:56:45 +0200 |
commit | d3dc8acb60f84f21bf62dcdc6a319db4f0b01a4b (patch) | |
tree | b606e2cf3fe3c930d6f405931679ef2ecf0f99a4 /usr | |
parent | c01b2e0ee22ef8b4dd7509a93aecc0ac0826bae4 (diff) |
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>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions