alistair23-linux/drivers/crypto/hisilicon
YueHaibing b5f13031cd crypto: hisilicon - Fix build error
When UACCE is m, CRYPTO_DEV_HISI_QM cannot be built-in.
But CRYPTO_DEV_HISI_QM is selected by CRYPTO_DEV_HISI_SEC2
and CRYPTO_DEV_HISI_HPRE unconditionally, which may leads this:

drivers/crypto/hisilicon/qm.o: In function 'qm_alloc_uacce':
drivers/crypto/hisilicon/qm.c:1579: undefined reference to 'uacce_alloc'

Add Kconfig dependency to enforce usable configurations.

Fixes: 47c16b4499 ("crypto: hisilicon - qm depends on UACCE")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2020-04-03 15:37:26 +11:00
..
hpre crypto: hisilicon/hpre - Optimize finding hpre device process 2020-03-20 14:36:50 +11:00
sec crypto: hisilicon - Matching the dma address for dma_pool_free() 2019-09-20 22:53:09 +10:00
sec2 crypto: hisilicon/sec2 - Add new create qp process 2020-03-20 14:36:50 +11:00
zip crypto: hisilicon/zip - Use hisi_qm_alloc_qps_node() when init ctx 2020-03-20 14:36:50 +11:00
Kconfig crypto: hisilicon - Fix build error 2020-04-03 15:37:26 +11:00
Makefile crypto: hisilicon - add HiSilicon SEC V2 driver 2019-11-22 18:48:36 +08:00
qm.c crypto: hisilicon/qm - Put device finding logic into QM 2020-03-20 14:36:50 +11:00
qm.h crypto: hisilicon/qm - Put device finding logic into QM 2020-03-20 14:36:50 +11:00
sgl.c crypto: hisilicon - Remove useless MODULE macros 2019-12-11 16:34:45 +08:00