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

@@ -65,6 +65,7 @@ static int kthread_func(void *data)
}
static const struct file_operations fops = {
.owner = THIS_MODULE,
.read = read,
.poll = poll
};