Skip to content

Commit f0b300f

Browse files
author
Tamási Benjamin
committedAug 7, 2018
update
1 parent 8cf6325 commit f0b300f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎hello-world/start.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
#include <linux/kernel.h>
33
#include <linux/init.h>
44

5-
static int __init init(void)
5+
static int __init initHello(void)
66
{
77
printk(KERN_INFO "Hello, world\n");
88
return 0;
99
}
1010

11-
module_init(init);
11+
module_init(initHello);

‎hello-world/stop.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
#include <linux/kernel.h>
33
#include <linux/init.h>
44

5-
static void __exit exit(void)
5+
static void __exit exitHello(void)
66
{
77
printk(KERN_INFO "Goodbye, world\n");
88
}
99

10-
module_exit(exit);
10+
module_exit(exitHello);

0 commit comments

Comments
 (0)
Please sign in to comment.