projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec0bff0
)
Staging: comedi: proc: Add module owner
author
Cheah Kok Cheong
<thrust73@gmail.com>
Fri, 30 Dec 2016 11:27:17 +0000
(19:27 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 3 Jan 2017 14:30:21 +0000
(15:30 +0100)
Since this is a loadable kernel module, add module ownership
to follow LKM semantics.
Signed-off-by: Cheah Kok Cheong <thrust73@gmail.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/proc.c
patch
|
blob
|
history
diff --git
a/drivers/staging/comedi/proc.c
b/drivers/staging/comedi/proc.c
index
6d13b51
..
99b23b2
100644
(file)
--- a/
drivers/staging/comedi/proc.c
+++ b/
drivers/staging/comedi/proc.c
@@
-80,6
+80,7
@@
static int comedi_proc_open(struct inode *inode, struct file *file)
}
static const struct file_operations comedi_proc_fops = {
+ .owner = THIS_MODULE,
.open = comedi_proc_open,
.read = seq_read,
.llseek = seq_lseek,