soc: qcom: smsm: Add missing mailbox dependency to Kconfig
authorLuca Weiss <luca@lucaweiss.eu>
Fri, 28 Jun 2024 17:30:23 +0000 (19:30 +0200)
committerBjorn Andersson <andersson@kernel.org>
Tue, 2 Jul 2024 03:23:54 +0000 (22:23 -0500)
Since the smsm driver got the ability to interact with the mailbox using
the mailbox subsystem and not just syscon, we need to add the dependency
to kconfig as well to avoid compile errors.

Fixes: 75287992f58a ("soc: qcom: smsm: Support using mailbox interface")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202406180006.Z397C67h-lkp@intel.com/
Signed-off-by: Luca Weiss <luca@lucaweiss.eu>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240628-smsm-kconfig-v1-1-117d5af4ba1f@lucaweiss.eu
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/soc/qcom/Kconfig

index 432c85bd8ad4060784c455a31615fac24dfef808..7f02f05259331a1390299ed802a50feeecdea6a7 100644 (file)
@@ -211,6 +211,7 @@ config QCOM_SMP2P
 
 config QCOM_SMSM
        tristate "Qualcomm Shared Memory State Machine"
+       depends on MAILBOX
        depends on QCOM_SMEM
        select QCOM_SMEM_STATE
        select IRQ_DOMAIN