补充 MODULE_AUTHOR 和 MODULE_LICENSE.
Signed-off-by: ithink.chan <chenyang@autoai.com>
This commit is contained in:
parent
137a906cad
commit
b55b6feb03
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue