From: Cheah Kok Cheong Date: Fri, 30 Dec 2016 11:27:17 +0000 (+0800) Subject: Staging: comedi: proc: Add module owner X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6bd68e29b6fd6043fee89b056f791a394d89a57f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/proc.c b/drivers/staging/comedi/proc.c index 6d13b5156c97..99b23b2e32dd 100644 --- 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,