Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753883AbcL3L1b (ORCPT ); Fri, 30 Dec 2016 06:27:31 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:36314 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753404AbcL3L13 (ORCPT ); Fri, 30 Dec 2016 06:27:29 -0500 From: Cheah Kok Cheong To: abbotti@mev.co.uk, hsweeten@visionengravers.com, gregkh@linuxfoundation.org Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Cheah Kok Cheong Subject: [PATCH 4/5] Staging: comedi: proc: Add module owner Date: Fri, 30 Dec 2016 19:27:17 +0800 Message-Id: X-Mailer: git-send-email 2.7.4 In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 650 Lines: 22 Since this is a loadable kernel module, add module ownership to follow LKM semantics. Signed-off-by: Cheah Kok Cheong --- drivers/staging/comedi/proc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/comedi/proc.c b/drivers/staging/comedi/proc.c index 6d13b51..99b23b2e 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, -- 2.7.4