Commit aee5d333 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Huisong Li
Browse files

soc: kunpeng_hccs: add MAILBOX dependency

mainline inclusion
from mainline-v6.6-rc1
commit a90d34af
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I81QY0
CVE: NA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v6.6-rc1&id=a90d34afee25e8e2753859b2e00d83f6b9bf410a



--------------------------------

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: 886bdf9c ("soc: hisilicon: Support HCCS driver on Kunpeng SoC")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent e1693339
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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