OpenCloudOS-Kernel/drivers/crypto/caam
Arnd Bergmann 96808c5965 crypto: caam/qi2 - add CONFIG_NETDEVICES dependency
This driver implements a (part of a) network driver, and fails to
build if we have turned off networking support:

drivers/crypto/caam/caamalg_qi2.o: In function `dpaa2_caam_fqdan_cb':
caamalg_qi2.c:(.text+0x577c): undefined reference to `napi_schedule_prep'
caamalg_qi2.c:(.text+0x578c): undefined reference to `__napi_schedule_irqoff'
drivers/crypto/caam/caamalg_qi2.o: In function `dpaa2_dpseci_poll':
caamalg_qi2.c:(.text+0x59b8): undefined reference to `napi_complete_done'
drivers/crypto/caam/caamalg_qi2.o: In function `dpaa2_caam_remove':
caamalg_qi2.c:(.text.unlikely+0x4e0): undefined reference to `napi_disable'
caamalg_qi2.c:(.text.unlikely+0x4e8): undefined reference to `netif_napi_del'
drivers/crypto/caam/caamalg_qi2.o: In function `dpaa2_dpseci_setup':
caamalg_qi2.c:(.text.unlikely+0xc98): undefined reference to `netif_napi_add'

From what I can tell, CONFIG_NETDEVICES is the correct dependency here,
and adding it fixes the randconfig failures.

Fixes: 8d818c1055 ("crypto: caam/qi2 - add DPAA2-CAAM driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2018-10-05 10:22:48 +08:00
..
Kconfig crypto: caam/qi2 - add CONFIG_NETDEVICES dependency 2018-10-05 10:22:48 +08:00
Makefile crypto: caam - export ahash shared descriptor generation 2018-09-21 13:24:51 +08:00
caamalg.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2018-09-21 13:22:37 +08:00
caamalg_desc.c crypto: caam/qi - ablkcipher -> skcipher conversion 2018-09-04 11:35:03 +08:00
caamalg_desc.h crypto: caam/qi - ablkcipher -> skcipher conversion 2018-09-04 11:35:03 +08:00
caamalg_qi.c crypto: caam/qi - ablkcipher -> skcipher conversion 2018-09-04 11:35:03 +08:00
caamalg_qi2.c crypto: caam/qi2 - add support for ahash algorithms 2018-09-21 13:24:51 +08:00
caamalg_qi2.h crypto: caam/qi2 - add support for ahash algorithms 2018-09-21 13:24:51 +08:00
caamhash.c crypto: caam - export ahash shared descriptor generation 2018-09-21 13:24:51 +08:00
caamhash_desc.c crypto: caam - export ahash shared descriptor generation 2018-09-21 13:24:51 +08:00
caamhash_desc.h crypto: caam - export ahash shared descriptor generation 2018-09-21 13:24:51 +08:00
caampkc.c crypto: caam - fix DMA mapping direction for RSA forms 2 & 3 2018-08-25 19:50:41 +08:00
caampkc.h crypto: caam - strip input zeros from RSA input buffer 2018-04-21 00:59:03 +08:00
caamrng.c crypto: caam - clean-up in caam_init_rng() 2017-07-18 18:16:07 +08:00
compat.h crypto: caam/qi2 - add DPAA2-CAAM driver 2018-09-21 13:24:51 +08:00
ctrl.c crypto: caam - fix MC firmware detection 2018-05-31 00:13:46 +08:00
ctrl.h crypto: caam - staticize caam_get_era() 2018-04-21 00:58:36 +08:00
desc.h crypto: caam - add Derived Key Protocol (DKP) support 2017-12-28 17:56:48 +11:00
desc_constr.h crypto: caam - add Derived Key Protocol (DKP) support 2017-12-28 17:56:48 +11:00
dpseci.c crypto: caam - add DPAA2-CAAM (DPSECI) backend API 2018-09-21 13:24:51 +08:00
dpseci.h crypto: caam - add DPAA2-CAAM (DPSECI) backend API 2018-09-21 13:24:51 +08:00
dpseci_cmd.h crypto: caam - add DPAA2-CAAM (DPSECI) backend API 2018-09-21 13:24:51 +08:00
error.c crypto: caam/qi2 - add DPAA2-CAAM driver 2018-09-21 13:24:51 +08:00
error.h crypto: caam - add Queue Interface v2 error codes 2018-09-21 13:24:51 +08:00
intern.h crypto: caam - fix MC firmware detection 2018-05-31 00:13:46 +08:00
jr.c crypto: caam/jr - fix descriptor DMA unmapping 2018-08-25 19:50:40 +08:00
jr.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
key_gen.c crypto: caam - add Derived Key Protocol (DKP) support 2017-12-28 17:56:48 +11:00
key_gen.h crypto: caam - add Derived Key Protocol (DKP) support 2017-12-28 17:56:48 +11:00
pdb.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pkc_desc.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
qi.c crypto: caam/qi - fix warning in init_cgr() 2018-05-31 00:13:47 +08:00
qi.h crypto: caam/qi - remove ablkcipher IV generation 2018-09-04 11:35:03 +08:00
regs.h crypto: caam - add Queue Interface v2 error codes 2018-09-21 13:24:51 +08:00
sg_sw_qm.h crypto: caam/qi - add ablkcipher and authenc algorithms 2017-03-24 22:02:59 +08:00
sg_sw_qm2.h staging: fsl-mc: Move DPIO from staging to drivers/soc/fsl 2018-07-24 16:18:55 -05:00
sg_sw_sec4.h staging: fsl-mc: Move DPIO from staging to drivers/soc/fsl 2018-07-24 16:18:55 -05:00