Fix dependencies for configuration switch ARM_SCMI_PROTOCOL that
is not exclusively dependent on MAILBOX since the alternate
smc transport that is depends on HAVE_ARM_SMCCC_DISCOVERY since [1].

Link: [1] d76428237784 ("firmware: arm_scmi: Use HAVE_ARM_SMCCC_DISCOVERY 
instead of ARM_PSCI_FW")
Signed-off-by: Etienne Carriere <etienne.carri...@linaro.org>
---
 drivers/firmware/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig
index 3315e3c21586..5bdd411206ff 100644
--- a/drivers/firmware/Kconfig
+++ b/drivers/firmware/Kconfig
@@ -9,7 +9,7 @@ menu "Firmware Drivers"
 config ARM_SCMI_PROTOCOL
        tristate "ARM System Control and Management Interface (SCMI) Message 
Protocol"
        depends on ARM || ARM64 || COMPILE_TEST
-       depends on MAILBOX
+       depends on MAILBOX || HAVE_ARM_SMCCC_DISCOVERY
        help
          ARM System Control and Management Interface (SCMI) protocol is a
          set of operating system-independent software interfaces that are
-- 
2.17.1

Reply via email to