diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2019-10-28 15:39:07 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-11-08 23:00:45 +0800 |
commit | 1520c72596dde7f22b8bd6bed3ef7df2b8b7ef39 (patch) | |
tree | 6851c1003212c908f1281a4008ad0fc87f60b06c /drivers/crypto/atmel-authenc.h | |
parent | 298b4c604008025b134bc6fccbc4018449945d60 (diff) | |
download | lwn-1520c72596dde7f22b8bd6bed3ef7df2b8b7ef39.tar.gz lwn-1520c72596dde7f22b8bd6bed3ef7df2b8b7ef39.zip |
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: 89a82ef87e01 ("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>
Diffstat (limited to 'drivers/crypto/atmel-authenc.h')
-rw-r--r-- | drivers/crypto/atmel-authenc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/atmel-authenc.h b/drivers/crypto/atmel-authenc.h index cbd37a2edada..d6de810df44f 100644 --- a/drivers/crypto/atmel-authenc.h +++ b/drivers/crypto/atmel-authenc.h @@ -12,7 +12,7 @@ #ifndef __ATMEL_AUTHENC_H__ #define __ATMEL_AUTHENC_H__ -#ifdef CONFIG_CRYPTO_DEV_ATMEL_AUTHENC +#if IS_ENABLED(CONFIG_CRYPTO_DEV_ATMEL_AUTHENC) #include <crypto/authenc.h> #include <crypto/hash.h> |