compiler-gcc.h: neatening
[cascardo/linux.git] / kernel / test_module.c
1 /*
2  * "hello world" kernel module
3  */
4
5 #define pr_fmt(fmt) "test_module: " fmt
6
7 #include <linux/module.h>
8
9 static int __init test_module_init(void)
10 {
11         pr_info("Hello, world\n");
12
13         return 0;
14 }
15
16 module_init(test_module_init);
17
18 static void __exit test_module_exit(void)
19 {
20         pr_info("Goodbye\n");
21 }
22
23 module_exit(test_module_exit);
24
25 MODULE_AUTHOR("Kees Cook <keescook@chromium.org>");
26 MODULE_LICENSE("GPL");