aboutsummaryrefslogtreecommitdiff
path: root/sem1/module.c
blob: 3a25d2502461b130db4ae96365156439cef495c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>

module_init(void) {
	printk(KERN_INFO "COOL_MODULE: Hej med dig\n");
	return 0;
}

module_exit(void) {
	printk(KERN_INFO "COOL_MODULE: Nou moe\n");
}