aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/chainiv.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/chainiv.c')
-rw-r--r--crypto/chainiv.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/crypto/chainiv.c b/crypto/chainiv.c
index 9affadee3287..cf68d4365347 100644
--- a/crypto/chainiv.c
+++ b/crypto/chainiv.c
@@ -320,12 +320,18 @@ static struct crypto_template chainiv_tmpl = {
320 .module = THIS_MODULE, 320 .module = THIS_MODULE,
321}; 321};
322 322
323int __init chainiv_module_init(void) 323static int __init chainiv_module_init(void)
324{ 324{
325 return crypto_register_template(&chainiv_tmpl); 325 return crypto_register_template(&chainiv_tmpl);
326} 326}
327 327
328void chainiv_module_exit(void) 328static void chainiv_module_exit(void)
329{ 329{
330 crypto_unregister_template(&chainiv_tmpl); 330 crypto_unregister_template(&chainiv_tmpl);
331} 331}
332
333module_init(chainiv_module_init);
334module_exit(chainiv_module_exit);
335
336MODULE_LICENSE("GPL");
337MODULE_DESCRIPTION("Chain IV Generator");