Skip to content

Commit 67da3f1

Browse files
mikkorapeli-linaroUlf Hansson
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 <[email protected]> Suggested-by: Binbin Zhou <[email protected]> Signed-off-by: Mikko Rapeli <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
1 parent 7cd8db0 commit 67da3f1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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)