X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=crypto%2Fchainiv.c;h=6da3f577e4db1d6c81c95b1fc9bb3eb7a5424df4;hb=516c8be3a93ec2b0746ba0907f38c1d1e62f4992;hp=d17fa0454dc30259baa69a111ff60f929311894e;hpb=4f4ae0d42680889c62db4e1f3e6b4aa7787a7257;p=linux-2.6 diff --git a/crypto/chainiv.c b/crypto/chainiv.c index d17fa0454d..6da3f577e4 100644 --- a/crypto/chainiv.c +++ b/crypto/chainiv.c @@ -314,18 +314,12 @@ static struct crypto_template chainiv_tmpl = { .module = THIS_MODULE, }; -static int __init chainiv_module_init(void) +int __init chainiv_module_init(void) { return crypto_register_template(&chainiv_tmpl); } -static void __exit chainiv_module_exit(void) +void chainiv_module_exit(void) { crypto_unregister_template(&chainiv_tmpl); } - -module_init(chainiv_module_init); -module_exit(chainiv_module_exit); - -MODULE_LICENSE("GPL"); -MODULE_DESCRIPTION("Chain IV Generator");