Commit 6bd68e29 authored by Cheah Kok Cheong's avatar Cheah Kok Cheong Committed by Greg Kroah-Hartman
Browse files

Staging: comedi: proc: Add module owner



Since this is a loadable kernel module, add module ownership
to follow LKM semantics.

Signed-off-by: default avatarCheah Kok Cheong <thrust73@gmail.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ec0bff06
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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,