From patchwork Mon Nov 20 07:50:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jesse Chan X-Patchwork-Id: 119262 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp3524888qgn; Sun, 19 Nov 2017 23:50:32 -0800 (PST) X-Google-Smtp-Source: AGs4zMbj3BVpoQTiQu1fom0tn2UAh0kxRGmAtOCeFmrCerP+Qqzn21sTrqFcTVZVcdpK9di30+Xj X-Received: by 10.98.134.65 with SMTP id x62mr10386327pfd.81.1511164232264; Sun, 19 Nov 2017 23:50:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511164232; cv=none; d=google.com; s=arc-20160816; b=BbGuIAbMeBYTQ1t2sHRCokKnbSn60+xg/vqmuYP5FKuC5wUEDepR+pPlrFKXRES2G+ 0q3TZ1hxAxXtZ9Zht3zdfbcnImEbWBeb6HKdxmI/bAarFbLXZzmCLbqjxn08x2h2BPZz 3ae5bl3orpf8esXUwbyDFNI4amP4i+viBI5hbaMueGlQJQJv3JsPBS3grCOfZ2EBbiV4 QUs8Q+ytA5GaoAzL5HOcYimFLNtFYZkWKTlYYdMxR8vVeMhy3pf08zkj4fhc0QRH9Kqe 6YF9ZfntX1XGXm0g9sQxl5GowEJRbqLqBbPA3X0VCjwG+datr+HoVXYAziKOKIOYZO9Z CfEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:in-reply-to:message-id:date :subject:cc:from:arc-authentication-results; bh=wm1rS8Uhtg2QtsGl1wZTJdMmnBX83VVgZWCeBs3Pa+c=; b=S8bcTGuLHTl6nUFIPoU5ml1FTRotj39R98vbmzcgjRpSCR9tTrykNC9ET6ARkQGAKt yHO2qbmxNmgqQyclfbeJXWNBjNgIqTl2dK87n0gZfcHxH1pdBBG/WSYSpvnGkNGZjSK8 SxFo2g8JMmr7w/7pdnSlVus0u+f2wyltB8VyXcYPEEQu+yoHEIBAxazOZE214p/TfKjy Vlx4XxM9sFt7qjyEA33+yMhWN3L5S1yL0e44Xm5hfVX4pBiOQq26rdo3lrQKLwGAdzX9 RLahOC9S7ENcRBY5hQ4RCuWG9OyAEnlfX+NzZg2CnAmjUGUYZs3qvi7ygipZiRKVa5NM JW7Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f3si7534666pgn.37.2017.11.19.23.50.32; Sun, 19 Nov 2017 23:50:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751149AbdKTHu2 (ORCPT + 11 others); Mon, 20 Nov 2017 02:50:28 -0500 Received: from mail-pg0-f67.google.com ([74.125.83.67]:45612 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751019AbdKTHu1 (ORCPT ); Mon, 20 Nov 2017 02:50:27 -0500 Received: by mail-pg0-f67.google.com with SMTP id 207so6705451pgc.12 for ; Sun, 19 Nov 2017 23:50:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=wm1rS8Uhtg2QtsGl1wZTJdMmnBX83VVgZWCeBs3Pa+c=; b=kisb8v3+VRu7AIYpUVD5Z+c3B8IJ21H6oCTeqSXUwYfEqDMbO+yQClgPeNYetu70s3 44APg0W7BEoyCqD2/tpfnPvnl7TKRVwPhm2eT3ued+02OxisvurRrO7JfVG8uUxAYQkE nHQNXyIYfqb/1gColebYWQEQ+/weqvywf5ul5ihydCVsaPGbBQYo8QiA0BRLwp8Sxg56 OlgGFNRuMILt+aW0KWiPt316eohB5mKB5enr+HXkzZuaN3meYbHDAd8JGtC/TXwP1HwY MuXHsejXk8uCT68ieil7eyrTf2hvEeamD+4H4a1Goae3MGXXgfNdx11qxDY2tbK42ucx hvBA== X-Gm-Message-State: AJaThX7BxMW7fQMrY2xn/RCvYsvgzDE0wol+jI0ffuPcmTliV7rGgOUV h2UGnmTqi+aeZhXym0vYec8= X-Received: by 10.99.115.9 with SMTP id o9mr12790540pgc.198.1511164226722; Sun, 19 Nov 2017 23:50:26 -0800 (PST) Received: from localhost.localdomain (crown-6-107.resnet.ucsc.edu. [169.233.6.107]) by smtp.googlemail.com with ESMTPSA id k89sm19420264pfb.104.2017.11.19.23.50.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Nov 2017 23:50:26 -0800 (PST) From: Jesse Chan Cc: Jesse Chan , Ian Abbott , H Hartley Sweeten , Greg Kroah-Hartman , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] staging: comedi: add missing MODULE_DESCRIPTION/LICENSE Date: Sun, 19 Nov 2017 23:50:17 -0800 Message-Id: <20171120075019.68767-1-jc@linux.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20171120070254.34587-1-jc@linux.com> References: <20171120070254.34587-1-jc@linux.com> To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This change resolves a new compile-time warning when built as a loadable module: WARNING: modpost: missing MODULE_LICENSE() in drivers/staging/comedi/drivers/ni_atmio.o see include/linux/module.h for more information This adds the license as "GPL", which matches the header of the file. MODULE_DESCRIPTION is also added. Signed-off-by: Jesse Chan --- drivers/staging/comedi/drivers/ni_atmio.c | 3 +++ 1 file changed, 3 insertions(+) -- 2.14.1 Reviewed-by: Ian Abbott diff --git a/drivers/staging/comedi/drivers/ni_atmio.c b/drivers/staging/comedi/drivers/ni_atmio.c index 2d62a8c57332..b61d56367773 100644 --- a/drivers/staging/comedi/drivers/ni_atmio.c +++ b/drivers/staging/comedi/drivers/ni_atmio.c @@ -361,3 +361,6 @@ static struct comedi_driver ni_atmio_driver = { .detach = ni_atmio_detach, }; module_comedi_driver(ni_atmio_driver); + +MODULE_DESCRIPTION("Comedi low-level driver"); +MODULE_LICENSE("GPL");