diff mbox series

[2/5] crypto: hisilicon - add dependency for CRYPTO_DEV_HISI_ZIP

Message ID 1565774919-31853-3-git-send-email-wangzhou1@hisilicon.com
State Accepted
Commit db01e4818bbdab626c78747dd8f494d586ac968d
Headers show
Series [1/5] crypto: hisilicon - fix kbuild warnings | expand

Commit Message

Zhou Wang Aug. 14, 2019, 9:28 a.m. UTC
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>

---
 drivers/crypto/hisilicon/Kconfig | 1 +
 1 file changed, 1 insertion(+)

-- 
2.8.1
diff mbox series

Patch

diff --git a/drivers/crypto/hisilicon/Kconfig b/drivers/crypto/hisilicon/Kconfig
index 1929317..fa8aa06 100644
--- a/drivers/crypto/hisilicon/Kconfig
+++ b/drivers/crypto/hisilicon/Kconfig
@@ -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