]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: atmel - Fix authenc support when it is set to m
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 28 Oct 2019 07:39:07 +0000 (15:39 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 8 Nov 2019 15:00:45 +0000 (23:00 +0800)
commit57b447a6edee9502b2e736fee74762cbbdbceb0b
tree6851c1003212c908f1281a4008ad0fc87f60b06c
parent7f852aff8586ca2f81a081a4150aac594cf3af66
crypto: atmel - Fix authenc support when it is set to m

As it is if CONFIG_CRYPTO_DEV_ATMEL_AUTHENC is set to m it is in
effect disabled.  This patch fixes it by using IS_ENABLED instead
of ifdef.

Fixes: 3a6e8fa924bb ("crypto: atmel-authenc - add support to...")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/atmel-aes.c
drivers/crypto/atmel-authenc.h
drivers/crypto/atmel-sha.c