hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/crypto/sha512_generic.c
....@@ -1,14 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /* SHA-512 code by Jean-Luc Cooke <jlcooke@certainkey.com>
23 *
34 * Copyright (c) Jean-Luc Cooke <jlcooke@certainkey.com>
45 * Copyright (c) Andrew McDonald <andrew@mcdonald.org.uk>
56 * Copyright (c) 2003 Kyle McMartin <kyle@debian.org>
6
- *
7
- * This program is free software; you can redistribute it and/or modify it
8
- * under the terms of the GNU General Public License as published by the
9
- * Free Software Foundation; either version 2, or (at your option) any
10
- * later version.
11
- *
127 */
138 #include <crypto/internal/hash.h>
149 #include <linux/kernel.h>
....@@ -223,7 +218,7 @@
223218 crypto_unregister_shashes(sha512_algs, ARRAY_SIZE(sha512_algs));
224219 }
225220
226
-module_init(sha512_generic_mod_init);
221
+subsys_initcall(sha512_generic_mod_init);
227222 module_exit(sha512_generic_mod_fini);
228223
229224 MODULE_LICENSE("GPL");