soc: kunpeng_hccs: add MAILBOX dependency
authorArnd Bergmann <arnd@arndb.de>
Sat, 12 Aug 2023 17:17:58 +0000 (19:17 +0200)
committerArnd Bergmann <arnd@arndb.de>
Mon, 14 Aug 2023 15:00:13 +0000 (17:00 +0200)
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 <arnd@arndb.de>
drivers/soc/hisilicon/Kconfig

index 7c84dd4..0ab688a 100644 (file)
@@ -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