补充 MODULE_AUTHOR 和 MODULE_LICENSE.

Signed-off-by: ithink.chan <chenyang@autoai.com>
This commit is contained in:
ithink.chan 2019-10-21 09:17:47 +08:00
parent 137a906cad
commit b55b6feb03
1 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,9 @@
#include <linux/init.h> #include <linux/init.h>
#include <linux/miscdevice.h> #include <linux/miscdevice.h>
MODULE_AUTHOR("Rick Chan");
MODULE_LICENSE("GPL");
static int demo_open(struct inode *inode, struct file* filp) static int demo_open(struct inode *inode, struct file* filp)
{ {
return 0; return 0;