mirror of
https://gitee.com/open-loongarch/linux-6.12.git
synced 2026-10-28 05:57:12 +08:00
mmc: select REGMAP_MMIO with MMC_LOONGSON2
COMPILE_TEST with MMC_LOONGSON2 failed to link due to
undeclared dependency:
ERROR: modpost: "__devm_regmap_init_mmio_clk"
[drivers/mmc/host/loongson2-mmc.ko] undefined!
Fixes: 2115772014bd ("mmc: loongson2: Add Loongson-2K SD/SDIO controller driver")
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Suggested-by: Binbin Zhou <zhoubinbin@loongson.cn>
Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
committed by
maoxiaochuan
parent
87158ec864
commit
dce10e22fe
@@ -1090,6 +1090,7 @@ config MMC_LOONGSON2
|
||||
tristate "Loongson-2K SD/SDIO/eMMC Host Interface support"
|
||||
depends on LOONGARCH || COMPILE_TEST
|
||||
depends on HAS_DMA
|
||||
select REGMAP_MMIO
|
||||
help
|
||||
This selects support for the SD/SDIO/eMMC Host Controller on
|
||||
Loongson-2K series CPUs.
|
||||
|
||||
Reference in New Issue
Block a user