summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhou Wang <wangzhou1@hisilicon.com>2019-10-11 19:18:10 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2019-10-23 19:46:56 +1100
commitb981744ef04f7e8cb6931edab50021fff3c8077e (patch)
tree9a0acaca96926b17fdfda4df37d2492004777354
parent14304da06cb398dfc843703b550590e9269f1720 (diff)
downloadlinux-b981744ef04f7e8cb6931edab50021fff3c8077e.tar.bz2
crypto: hisilicon - select NEED_SG_DMA_LENGTH in qm Kconfig
To avoid compile error in some platforms, select NEED_SG_DMA_LENGTH in qm Kconfig. Fixes: dfed0098ab91 ("crypto: hisilicon - add hardware SGL support") Signed-off-by: Zhou Wang <wangzhou1@hisilicon.com> Reported-by: kbuild test robot <lkp@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-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 82fb810d814d..a71f2bfaf084 100644
--- a/drivers/crypto/hisilicon/Kconfig
+++ b/drivers/crypto/hisilicon/Kconfig
@@ -18,6 +18,7 @@ config CRYPTO_DEV_HISI_QM
tristate
depends on ARM64 || COMPILE_TEST
depends on PCI && PCI_MSI
+ select NEED_SG_DMA_LENGTH
help
HiSilicon accelerator engines use a common queue management
interface. Specific engine driver may use this module.