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

@@ -49,6 +49,7 @@ static ssize_t read(struct file *filp, char __user *buf, size_t len, loff_t *off
}
static const struct file_operations fops = {
.owner = THIS_MODULE,
.read = read,
};