Skip to content

Commit 67da3f1

Browse files
mikkorapeli-linarostorulf
authored andcommitted
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: 2115772 ("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>
1 parent 7cd8db0 commit 67da3f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/mmc/host/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1116,6 +1116,7 @@ config MMC_LOONGSON2
11161116
tristate "Loongson-2K SD/SDIO/eMMC Host Interface support"
11171117
depends on LOONGARCH || COMPILE_TEST
11181118
depends on HAS_DMA
1119+
select REGMAP_MMIO
11191120
help
11201121
This selects support for the SD/SDIO/eMMC Host Controller on
11211122
Loongson-2K series CPUs.

0 commit comments

Comments
 (0)