Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <linux/init.h>
- #include <linus/kernel.h>
- #include <linux/module.h>
- int simple_init(void)
- {
- printk(KERN_INFO "Loading Module\n");
- return 0;
- }
- void simple_exit(void)
- {
- printk(KERN_INFO "Removing Modulr\n");
- }
- module_init(simple_init);
- module_exit(simple_exit);
- MODULE_LICENSE("GPL");
- MODULE_DESCRIPTION("Simple Module");
- MODULE_AUTHOR("SGG");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement