]> git.baikalelectronics.ru Git - kernel.git/commit
soc: qcom: Select REMAP_MMIO for LLCC driver
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Tue, 29 Nov 2022 07:11:59 +0000 (12:41 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jan 2023 10:41:45 +0000 (11:41 +0100)
commitf66d06f2933b5969879b16161712484147316d6a
treef388fd21d70268d743ebbf39271e1d15996540af
parent2d0e865b88d56ba381aa1b973b152c1a3092a551
soc: qcom: Select REMAP_MMIO for LLCC driver

commit 227825ac0d86947a79f97fd73439263e95c2f15e upstream.

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: <stable@vger.kernel.org> # 4.19
Fixes: c91e60c7a380 ("drivers: soc: Add LLCC driver")
Reported-by: Borislav Petkov <bp@alien8.de>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221129071201.30024-2-manivannan.sadhasivam@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/soc/qcom/Kconfig