summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/party.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/party.c b/src/party.c
new file mode 100644
index 0000000..92d7d30
--- /dev/null
+++ b/src/party.c
@@ -0,0 +1,21 @@
+#include <linux/init.h>
+#include <linux/kernel.h>
+#include <linux/module.h>
+
+int party_init(void)
+{
+ printk(KERN_INFO, "Start the Party!!!\n");
+ return 0;
+}
+
+void party_exit(void)
+{
+ printk(KERN_INFO, "The Party's OVER!\n");
+}
+
+module_init(party_init);
+module_exit(party_exit);
+
+MODULE_LICENSE("MIT");
+MODULE_DESCRIPTION("Party Module");
+MODULE_AUTHOR("xlgmokha");