From 11ff529d60c1aaec2d68df211fdf556390da55f8 Mon Sep 17 00:00:00 2001 From: mo khan Date: Sat, 20 Mar 2021 13:14:22 -0600 Subject: feat: add party module --- src/party.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/party.c (limited to 'src') 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 +#include +#include + +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"); -- cgit v1.2.3