Hello everybody,
I am trying for a long time to compile a basically kernel module but i
have still many errors.
This is the code for the module:
#include "linux/kernel.h"
#include "linux/module.h"
static int __init chargement (void)
{
printk(KERN_INFO "Bonjour seb\n");
return 0;
}
static void __exit dechargement (void)
{
printk(KERN_INFO "Au revoir seb\n");
}
module_init(chargement);
module_exit(dechargement);
//MODULE_LICENSE("GPL");
I need a Makefile for compile it.
thanks to everybody for helping me!
Sébastien