Staging: comedi: proc: Add module owner
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>
This commit is contained in:
parent
ec0bff06bb
commit
6bd68e29b6
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user