From: Shukun Tan <tanshukun1@huawei.com>
Date: Fri, 17 Apr 2020 15:08:31 +0800
Subject: crypto: hisilicon/qm - fix build failure with ACPI off
Git-commit: f88480e300ac13141aa84f0f70b745df2e11b203
Patch-mainline: v5.8-rc1
References: jsc#SLE-16507 jsc#SLE-15835
Add Kconfig dependency to fix kbuild warnings.
Fixes: 6c6dd5802c2d ("crypto: hisilicon/qm - add controller reset interface")
Reported-by: kbuild test robot <lkp@intel.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Shukun Tan <tanshukun1@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
---
drivers/crypto/hisilicon/Kconfig | 1 +
1 file changed, 1 insertion(+)
--- a/drivers/crypto/hisilicon/Kconfig
+++ b/drivers/crypto/hisilicon/Kconfig
@@ -40,6 +40,7 @@ config CRYPTO_DEV_HISI_QM
tristate
depends on ARM64 || COMPILE_TEST
depends on PCI && PCI_MSI
+ depends on ACPI
help
HiSilicon accelerator engines use a common queue management
interface. Specific engine driver may use this module.