summaryrefslogtreecommitdiff
path: root/src/party.c
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2021-03-20 13:14:22 -0600
committermo khan <mo@mokhan.ca>2021-03-20 13:14:22 -0600
commit11ff529d60c1aaec2d68df211fdf556390da55f8 (patch)
tree5691b329432e24d4c2720284409770732cf577f2 /src/party.c
parentb67ac830fa86a6e9bb474a159be03f3a26a12acd (diff)
feat: add party module
Diffstat (limited to 'src/party.c')
-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");