crypto: hisilicon - select NEED_SG_DMA_LENGTH in qm Kconfig
authorZhou Wang <wangzhou1@hisilicon.com>
Fri, 11 Oct 2019 11:18:10 +0000 (19:18 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 23 Oct 2019 08:46:56 +0000 (19:46 +1100)
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>
drivers/crypto/hisilicon/Kconfig

index 82fb810d814d896cc078f18320fdd5fec4ea5528..a71f2bfaf0848cc44ebfe815b2acf835e2c99cec 100644 (file)
@@ -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.