Commit 8bef6ab3 authored by James Morris's avatar James Morris Committed by David S. Miller

[CRYPTO]: Allow tcrypt module to be unloaded.

parent 66b3eb96
......@@ -684,7 +684,14 @@ init(void)
return 0;
}
/*
* If an init function is provided, an exit function must also be provided
* to allow module unload.
*/
static void __exit fini(void) { }
module_init(init);
module_exit(fini);
MODULE_PARM(mode, "i");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment