kernel_optimize_test/drivers/crypto/caam
Arnd Bergmann 52813ab249 crypto: caam/qi2 - avoid double export
Both the caam ctrl file and dpaa2_caam export a couple of flags. They
use an #ifdef check to make sure that each flag is only built once,
but this fails if they are both loadable modules:

WARNING: drivers/crypto/caam/dpaa2_caam: 'caam_little_end' exported twice. Previous export was in drivers/crypto/caam/caam.ko
WARNING: drivers/crypto/caam/dpaa2_caam: 'caam_imx' exported twice. Previous export was in drivers/crypto/caam/caam.ko

Change the #ifdef to an IS_ENABLED() check in order to make it work in
all configurations. It may be better to redesign this aspect of the
two drivers in a cleaner way.

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-08 13:45:41 +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 - avoid double export 2018-10-08 13:45:41 +08:00
caamalg_qi2.h crypto: caam/qi2 - add support for ahash algorithms 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
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
caamhash.c 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_constr.h crypto: caam - add Derived Key Protocol (DKP) support 2017-12-28 17:56:48 +11:00
desc.h crypto: caam - add Derived Key Protocol (DKP) support 2017-12-28 17:56:48 +11:00
dpseci_cmd.h crypto: caam - add DPAA2-CAAM (DPSECI) backend API 2018-09-21 13:24:51 +08: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
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
Kconfig crypto: caam/qi2 - add CONFIG_NETDEVICES dependency 2018-10-05 10:22:48 +08: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
Makefile crypto: caam - export ahash shared descriptor generation 2018-09-21 13:24:51 +08: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