1 /* my first kernel driver :-) */
3 #include <linux/module.h>
4 #include <linux/kernel.h>
6 int init_module(void) {
7 printk(KERN_ALERT "hi hackbard, here is your kernel speaking! :)\n");
11 void cleanup_module(void) {
12 printk(KERN_ALERT "bye hackbard ...\n");