X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;ds=sidebyside;f=crypto%2Fdh.c;h=99c3b2ef7adca58c5043838961e7c2cce6d29d9c;hb=f2e44139f3e0edb8be8821fe4dc93afd7b034182;hp=4406aeb1ff6167ca15e8c5301e24c9f823a4913e;hpb=8bb5e7f4dcd9b9ef22a3ea25c9066a8a968f12dd;p=linux-2.6-microblaze.git diff --git a/crypto/dh.c b/crypto/dh.c index 4406aeb1ff61..99c3b2ef7adc 100644 --- a/crypto/dh.c +++ b/crypto/dh.c @@ -893,7 +893,7 @@ static struct crypto_template crypto_ffdhe_templates[] = {}; #endif /* CONFIG_CRYPTO_DH_RFC7919_GROUPS */ -static int dh_init(void) +static int __init dh_init(void) { int err; @@ -911,7 +911,7 @@ static int dh_init(void) return 0; } -static void dh_exit(void) +static void __exit dh_exit(void) { crypto_unregister_templates(crypto_ffdhe_templates, ARRAY_SIZE(crypto_ffdhe_templates));