set owner
This commit is contained in:
parent
43e9927a8c
commit
c501090a3a
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ int lkm_release(struct inode *, struct file *);
|
||||||
long lkm_ioctl(struct file *, unsigned int, long unsigend);
|
long lkm_ioctl(struct file *, unsigned int, long unsigend);
|
||||||
|
|
||||||
static struct file_operations lkm_fops = {
|
static struct file_operations lkm_fops = {
|
||||||
.owner = "",
|
.owner = THIS_MODULE,
|
||||||
.open = lkm_open,
|
.open = lkm_open,
|
||||||
.release = lkm_release,
|
.release = lkm_release,
|
||||||
.unlocked_ioctl = lkm_ioctl,
|
.unlocked_ioctl = lkm_ioctl,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue