summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/misc/mei
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/misc/mei')
-rw-r--r--kernel/drivers/misc/mei/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/misc/mei/main.c b/kernel/drivers/misc/mei/main.c
index 3e2968159..e40bcd03b 100644
--- a/kernel/drivers/misc/mei/main.c
+++ b/kernel/drivers/misc/mei/main.c
@@ -685,7 +685,7 @@ int mei_register(struct mei_device *dev, struct device *parent)
/* Fill in the data structures */
devno = MKDEV(MAJOR(mei_devt), dev->minor);
cdev_init(&dev->cdev, &mei_fops);
- dev->cdev.owner = mei_fops.owner;
+ dev->cdev.owner = parent->driver->owner;
/* Add the device */
ret = cdev_add(&dev->cdev, devno, 1);