crypto: hisilicon - add dependency for CRYPTO_DEV_HISI_ZIP
authorZhou Wang <wangzhou1@hisilicon.com>
Wed, 14 Aug 2019 09:28:36 +0000 (17:28 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 15 Aug 2019 11:52:12 +0000 (21:52 +1000)
Add ARM64/PCI/PCI_MSI dependency for CRYPTO_DEV_HISI_ZIP.

Fixes: 62c455ca853e ("crypto: hisilicon - add HiSilicon ZIP accelerator support")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Zhou Wang <wangzhou1@hisilicon.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/Kconfig

index 19293172b4089c55ba3066a4c25e9f809a484dfb..fa8aa063bb651d45e72e4ad56d50bf92424719d9 100644 (file)
@@ -30,6 +30,7 @@ config CRYPTO_HISI_SGL
 
 config CRYPTO_DEV_HISI_ZIP
        tristate "Support for HiSilicon ZIP accelerator"
+       depends on ARM64 && PCI && PCI_MSI
        select CRYPTO_DEV_HISI_QM
        select CRYPTO_HISI_SGL
        select SG_SPLIT