diff --git a/lib/test_sort.c b/lib/test_sort.c index d389c1cc2f6cf795783c0572771b54bb64f9b751..4db3911db50ace76356b6530f03480955226b79a 100644 --- a/lib/test_sort.c +++ b/lib/test_sort.c @@ -1,8 +1,11 @@ #include #include -#include +#include -/* a simple boot-time regression test */ +/* + * A simple boot-time regression test + * License: GPL + */ #define TEST_LEN 1000 @@ -38,6 +41,4 @@ static int __init test_sort_init(void) kfree(a); return err; } - -module_init(test_sort_init); -MODULE_LICENSE("GPL"); +subsys_initcall(test_sort_init);