fops owner

This commit is contained in:
Ciro Santilli
2017-06-16 08:13:52 +01:00
parent 4eae56e36f
commit fe4cbf0f49
6 changed files with 8 additions and 0 deletions

View File

@@ -66,6 +66,7 @@ static long unlocked_ioctl(struct file *filp, unsigned int cmd, unsigned long ar
}
static const struct file_operations fops_ioctl = {
.owner = THIS_MODULE,
.unlocked_ioctl = unlocked_ioctl
};