]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
soc: qcom: pd-mapper: Depend on ARCH_QCOM || COMPILE_TEST
authorAndrew Halaney <ahalaney@redhat.com>
Thu, 25 Jul 2024 16:23:33 +0000 (11:23 -0500)
committerBjorn Andersson <andersson@kernel.org>
Mon, 29 Jul 2024 02:37:00 +0000 (21:37 -0500)
The pd-mapper driver doesn't make sense on non Qualcomm systems. Let's
follow suit with the rest of the Qualcomm SoC Kconfigs and depend on
ARCH_QCOM || COMPILE_TEST to avoid asking users about a config they will
not use.

Fixes: 1ebcde047c54 ("soc: qcom: add pd-mapper implementation")
Signed-off-by: Andrew Halaney <ahalaney@redhat.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20240725-pd-mapper-config-v1-1-f26e513608c6@redhat.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/soc/qcom/Kconfig

index 7f02f05259331a1390299ed802a50feeecdea6a7..74b9121240f8931cc9e93d542d188bacc447178b 100644 (file)
@@ -77,7 +77,7 @@ config QCOM_PD_MAPPER
        select QCOM_QMI_HELPERS
        select QCOM_PDR_MSG
        select AUXILIARY_BUS
-       depends on NET && QRTR
+       depends on NET && QRTR && (ARCH_QCOM || COMPILE_TEST)
        default QCOM_RPROC_COMMON
        help
          The Protection Domain Mapper maps registered services to the domains