]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - lib/test_sort.c
Revert "lib/test_sort.c: make it explicitly non-modular"
[mirror_ubuntu-bionic-kernel.git] / lib / test_sort.c
index 4db3911db50ace76356b6530f03480955226b79a..d389c1cc2f6cf795783c0572771b54bb64f9b751 100644 (file)
@@ -1,11 +1,8 @@
 #include <linux/sort.h>
 #include <linux/slab.h>
-#include <linux/init.h>
+#include <linux/module.h>
 
-/*
- * A simple boot-time regression test
- * License: GPL
- */
+/* a simple boot-time regression test */
 
 #define TEST_LEN 1000
 
@@ -41,4 +38,6 @@ exit:
        kfree(a);
        return err;
 }
-subsys_initcall(test_sort_init);
+
+module_init(test_sort_init);
+MODULE_LICENSE("GPL");