1 #include <linux/init.h>
2 #include <linux/module.h>
3 MODULE_LICENSE ("DUAL BSD/GPL");
5 static int hello_init(void){
6 printk(KERN_ALERT
"HELLO WORLD\n");
10 static void hello_exit(void){
11 printk(KERN_ALERT
"Good bye current WORLD\n");
14 module_init(hello_init
);
15 module_exit(hello_exit
);