diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index 5ef9ec9d55b3c11d5eb5ee5caa0a38bb2042a742..2fb0fdfc87df912f4ba926c1a6974e3803887c30 100644 --- a/drivers/crypto/Kconfig +++ b/drivers/crypto/Kconfig @@ -422,7 +422,7 @@ source "drivers/crypto/qat/Kconfig" config CRYPTO_DEV_QCE tristate "Qualcomm crypto engine accelerator" - depends on ARCH_QCOM || COMPILE_TEST + depends on (ARCH_QCOM || COMPILE_TEST) && HAS_DMA && HAS_IOMEM select CRYPTO_AES select CRYPTO_DES select CRYPTO_ECB