refactor for linux convention
This commit is contained in:
parent
81f6517ca7
commit
9cd89194ec
1 changed files with 6 additions and 6 deletions
|
@ -3,16 +3,16 @@
|
||||||
|
|
||||||
static int __init my_init(void)
|
static int __init my_init(void)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* c'est une macro récente qui permet de remplacer prink(KERN_INFO "coucou")
|
* c'est une macro récente qui permet de remplacer prink(KERN_INFO "coucou")
|
||||||
*/
|
*/
|
||||||
pr_info("Coucou le gens !!!!\n");
|
pr_info("Coucou le gens !!!!\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void __exit my_exit(void)
|
static void __exit my_exit(void)
|
||||||
{
|
{
|
||||||
pr_info("Tschuss !!!\n");
|
pr_info("Tschuss !!!\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue