summaryrefslogtreecommitdiff
path: root/src/party.c
blob: 65a02824240ee09c9f596d2d83d7c746763b92b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>

int party_init(void)
{
  // Use dmesg to view the log
  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");