Use CRYPTO_API() etc. from include/crypto/api.h in preparation for compilation as part of support for FIPS 140 standalone modules. Generated using: ./fipsify.py --config CONFIG_CRYPTO_ECB --source crypto/ecb.c Signed-off-by: Vegard Nossum <vegard.nossum@xxxxxxxxxx> --- crypto/ecb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/ecb.c b/crypto/ecb.c index cd1b20456dad..20127b20f483 100644 --- a/crypto/ecb.c +++ b/crypto/ecb.c @@ -219,8 +219,8 @@ static void __exit crypto_ecb_module_exit(void) crypto_unregister_template(&crypto_ecb_tmpl); } -module_init(crypto_ecb_module_init); -module_exit(crypto_ecb_module_exit); +crypto_module_init(crypto_ecb_module_init); +crypto_module_exit(crypto_ecb_module_exit); MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("ECB block cipher mode of operation"); -- 2.39.3