From patchwork Mon Nov 20 20:55:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jesse Chan X-Patchwork-Id: 10067259 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3A27E602B7 for ; Mon, 20 Nov 2017 20:55:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2C5AF29497 for ; Mon, 20 Nov 2017 20:55:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2114429499; Mon, 20 Nov 2017 20:55:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 975B429497 for ; Mon, 20 Nov 2017 20:55:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752858AbdKTUz3 (ORCPT ); Mon, 20 Nov 2017 15:55:29 -0500 Received: from mail-pf0-f193.google.com ([209.85.192.193]:44829 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752979AbdKTUz0 (ORCPT ); Mon, 20 Nov 2017 15:55:26 -0500 Received: by mail-pf0-f193.google.com with SMTP id r14so1643346pfl.11; Mon, 20 Nov 2017 12:55:26 -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; bh=jNC7JKPSkArF173i/S2lzM2Fh438xM4nf+Zo8Oh7OnU=; b=btCIbOzHm79Opf2KXr8djKxe9dRcYl6S8Zl2YwNe8ynh+5VwT+jBS2ZN2pHEV7yEo8 5jnQmk+m6TQb2Wpk75pdPI+ckQUqxlAwpxn7xCFin8TEoNUnnoX+8PqH284DTKaceZUL CIl3QcvNtbbctMYlOxX4b5jEOnDR/xD58J46wXh/FQ7IfEfzMYoMF2teoYCsuOoigKwe 11Sd9JkTmY1ZkPxSNqt7UaNIKO67QT99c9cQWtw+HxtNp1t7oSOuTTGoGfAspAE1etj4 aHA1sc9zurk5sA/ktshOzUxEy4QTk5QtgxwHpDz2Rx5Ne+GDC8OjEWWCZbMNVRniFW1g C1hg== X-Gm-Message-State: AJaThX723SqBXU8O4yOtBrQx0dXXqUnH/UQt9IBBwnqVDw8YgGuWo7Yd pp0Qcv7viuEoAoBwU8aBYYc= X-Google-Smtp-Source: AGs4zMZeS3CHuTmCCT4C3nkol30IKDEMMG9UgsleH79sdUUbKp+LpmcKJNUaSrqtSLVabzdQdeajIg== X-Received: by 10.98.61.80 with SMTP id k77mr12531716pfa.226.1511211325441; Mon, 20 Nov 2017 12:55:25 -0800 (PST) Received: from localhost.localdomain (crown-6-107.resnet.ucsc.edu. [169.233.6.107]) by smtp.googlemail.com with ESMTPSA id i85sm21799232pfi.54.2017.11.20.12.55.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Nov 2017 12:55:24 -0800 (PST) From: Jesse Chan Cc: Jesse Chan , Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Greg Kroah-Hartman , Thomas Gleixner , Kate Stewart , Philippe Ombredanne , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] iio: accel: kxsd9-i2c: add missing MODULE_AUTHOR/DESCRIPTION/LICENSE Date: Mon, 20 Nov 2017 12:55:18 -0800 Message-Id: <20171120205520.84809-1-jc@linux.com> X-Mailer: git-send-email 2.14.1 To: unlisted-recipients:; (no To-header on input) Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This change resolves a new compile-time warning when built as a loadable module: WARNING: modpost: missing MODULE_LICENSE() in drivers/iio/accel/kxsd9-i2c.o see include/linux/module.h for more information This adds the license as "GPL v2", which matches the header of the file. MODULE_DESCRIPTION and MODULE_AUTHOR are also added. Signed-off-by: Jesse Chan --- drivers/iio/accel/kxsd9-i2c.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/iio/accel/kxsd9-i2c.c b/drivers/iio/accel/kxsd9-i2c.c index 98fbb628d5bd..40f82ada6a52 100644 --- a/drivers/iio/accel/kxsd9-i2c.c +++ b/drivers/iio/accel/kxsd9-i2c.c @@ -63,3 +63,7 @@ static struct i2c_driver kxsd9_i2c_driver = { .id_table = kxsd9_i2c_id, }; module_i2c_driver(kxsd9_i2c_driver); + +MODULE_AUTHOR("Linus Walleij "); +MODULE_DESCRIPTION("Kionix KXSD9 I2C driver"); +MODULE_LICENSE("GPL v2");