Skip to content

Commit 5d2fe2d

Browse files
Mani-Sadhasivamandersson
authored andcommitted
soc: qcom: Select REMAP_MMIO for LLCC driver
LLCC driver uses REGMAP_MMIO for accessing the hardware registers. So select the dependency in Kconfig. Without this, there will be errors while building the driver with COMPILE_TEST only: ERROR: modpost: "__devm_regmap_init_mmio_clk" [drivers/soc/qcom/llcc-qcom.ko] undefined! make[1]: *** [scripts/Makefile.modpost:126: Module.symvers] Error 1 make: *** [Makefile:1944: modpost] Error 2 Cc: <[email protected]> # 4.19 Fixes: a3134fb ("drivers: soc: Add LLCC driver") Reported-by: Borislav Petkov <[email protected]> Signed-off-by: Manivannan Sadhasivam <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 5b617b1 commit 5d2fe2d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/soc/qcom/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ config QCOM_GSBI
6363
config QCOM_LLCC
6464
tristate "Qualcomm Technologies, Inc. LLCC driver"
6565
depends on ARCH_QCOM || COMPILE_TEST
66+
select REGMAP_MMIO
6667
help
6768
Qualcomm Technologies, Inc. platform specific
6869
Last Level Cache Controller(LLCC) driver for platforms such as,

0 commit comments

Comments
 (0)