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