diff mbox series

soc: qcom: smsm: Add missing mailbox dependency to Kconfig

Message ID 20240628-smsm-kconfig-v1-1-117d5af4ba1f@lucaweiss.eu (mailing list archive)
State Accepted, archived
Headers show
Series soc: qcom: smsm: Add missing mailbox dependency to Kconfig | expand

Commit Message

Luca Weiss June 28, 2024, 5:30 p.m. UTC
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>
---
 drivers/soc/qcom/Kconfig | 1 +
 1 file changed, 1 insertion(+)


---
base-commit: 642a16ca7994a50d7de85715996a8ce171a5bdfb
change-id: 20240628-smsm-kconfig-6a01783472f0

Best regards,

Comments

Konrad Dybcio June 29, 2024, 1:01 p.m. UTC | #1
On 28.06.2024 7:30 PM, Luca Weiss wrote:
> 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>

Konrad
Bjorn Andersson July 3, 2024, 3:37 a.m. UTC | #2
On Fri, 28 Jun 2024 19:30:23 +0200, Luca Weiss wrote:
> 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.
> 
> 

Applied, thanks!

[1/1] soc: qcom: smsm: Add missing mailbox dependency to Kconfig
      commit: 05a21e8b5d006177bce7332523eea5e3f2ee23ab

Best regards,
diff mbox series

Patch

diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig
index 5af33b0e3470..60efecd16380 100644
--- a/drivers/soc/qcom/Kconfig
+++ b/drivers/soc/qcom/Kconfig
@@ -194,6 +194,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