1
0
mirror of https://github.com/bashrc/LKMPG.git synced 2018-06-11 03:06:54 +02:00

Move license macros

This commit is contained in:
Bob Mottram
2018-02-10 10:37:34 +00:00
parent 2c6153b410
commit aee568b573
2 changed files with 4 additions and 4 deletions

View File

@@ -16,8 +16,6 @@
#include <linux/poll.h>
#include <linux/cdev.h>
MODULE_LICENSE("GPL");
/*
* Prototypes - this would normally go in a .h file
*/
@@ -181,3 +179,5 @@ static ssize_t device_write(struct file *filp,
pr_alert("Sorry, this operation isn't supported.\n");
return -EINVAL;
}
MODULE_LICENSE("GPL");

View File

@@ -15,8 +15,6 @@
#include <linux/poll.h>
#include <linux/cdev.h>
MODULE_LICENSE("GPL");
#include "chardev.h"
#define SUCCESS 0
#define DEVICE_NAME "char_dev"
@@ -287,3 +285,5 @@ void cleanup_module()
*/
unregister_chrdev(Major, DEVICE_NAME);
}
MODULE_LICENSE("GPL");