From a90d34afee25e8e2753859b2e00d83f6b9bf410a Mon Sep 17 00:00:00 2001 From: Arnd Bergmann Date: Sat, 12 Aug 2023 19:17:58 +0200 Subject: [PATCH] soc: kunpeng_hccs: add MAILBOX dependency When the mailbox subsystem is disabled, the driver fails to link, so add an explicit dependency. Some other drivers use 'select' here, but the dependency seems more logical and more common. Fixes: 886bdf9c883bc ("soc: hisilicon: Support HCCS driver on Kunpeng SoC") Signed-off-by: Arnd Bergmann --- drivers/soc/hisilicon/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/hisilicon/Kconfig b/drivers/soc/hisilicon/Kconfig index 7c84dd4da0f8..0ab688af308f 100644 --- a/drivers/soc/hisilicon/Kconfig +++ b/drivers/soc/hisilicon/Kconfig @@ -6,6 +6,7 @@ menu "Hisilicon SoC drivers" config KUNPENG_HCCS tristate "HCCS driver on Kunpeng SoC" depends on ACPI + depends on MAILBOX depends on ARM64 || COMPILE_TEST help The Huawei Cache Coherence System (HCCS) is a multi-chip