summaryrefslogtreecommitdiff
path: root/drivers/crypto
diff options
context:
space:
mode:
authorShukun Tan <tanshukun1@huawei.com>2020-04-17 10:08:31 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2020-04-20 11:16:21 +0300
commitf88480e300ac13141aa84f0f70b745df2e11b203 (patch)
treeac8faaeec6e534f2c6b6c85b43aa90f001de1f18 /drivers/crypto
parent0a8f5989e03476cfb2a7756e33fa4d0163cb4375 (diff)
downloadlinux-f88480e300ac13141aa84f0f70b745df2e11b203.tar.xz
crypto: hisilicon/qm - fix build failure with ACPI off
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>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/hisilicon/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/hisilicon/Kconfig b/drivers/crypto/hisilicon/Kconfig
index f09c6cf7823e..99e962e39f36 100644
--- a/drivers/crypto/hisilicon/Kconfig
+++ b/drivers/crypto/hisilicon/Kconfig
@@ -42,6 +42,7 @@ config CRYPTO_DEV_HISI_QM
depends on ARM64 || COMPILE_TEST
depends on PCI && PCI_MSI
depends on UACCE || UACCE=n
+ depends on ACPI
help
HiSilicon accelerator engines use a common queue management
interface. Specific engine driver may use this module.