提交 71d932d9 编写于 作者: C Chen Gang 提交者: Herbert Xu

crypto: qce - Let 'DEV_QCE' depend on both HAS_DMA and HAS_IOMEM

'DEV_QCE' needs both HAS_DMA and HAS_IOMEM, so let it depend on them.

The related error (with allmodconfig under score):

    MODPOST 1365 modules
  ERROR: "devm_ioremap_resource" [drivers/crypto/qce/qcrypto.ko] undefined!
  ERROR: "dma_map_sg" [drivers/crypto/qce/qcrypto.ko] undefined!
  ERROR: "dma_set_mask" [drivers/crypto/qce/qcrypto.ko] undefined!
  ERROR: "dma_supported" [drivers/crypto/qce/qcrypto.ko] undefined!
  ERROR: "dma_unmap_sg" [drivers/crypto/qce/qcrypto.ko] undefined!
Signed-off-by: NChen Gang <gang.chen.5i5j@gmail.com>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 a60384df
...@@ -422,7 +422,7 @@ source "drivers/crypto/qat/Kconfig" ...@@ -422,7 +422,7 @@ source "drivers/crypto/qat/Kconfig"
config CRYPTO_DEV_QCE config CRYPTO_DEV_QCE
tristate "Qualcomm crypto engine accelerator" 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_AES
select CRYPTO_DES select CRYPTO_DES
select CRYPTO_ECB select CRYPTO_ECB
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册