Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 21 lines (16 sloc) 0.362 kB
31a634d @gregkh initial commit
authored
1 #include <linux/kernel.h>
2 #include <linux/init.h>
3 #include <linux/module.h>
4
5 static int __init gotemp_init(void)
6 {
7 printk(KERN_INFO "Hello from the kernel!\n");
8 return 0;
9 }
10
11 static void __exit gotemp_exit(void)
12 {
13 }
14
15 module_init(gotemp_init);
16 module_exit(gotemp_exit);
17
18 MODULE_AUTHOR("My name here");
19 MODULE_DESCRIPTION("Simple driver");
20 MODULE_LICENSE("GPL");
Something went wrong with that request. Please try again.