From patchwork Wed Jan 10 16:31:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10155611 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 AFFB7602D8 for ; Wed, 10 Jan 2018 16:33:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A183126255 for ; Wed, 10 Jan 2018 16:33:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 95A07284AF; Wed, 10 Jan 2018 16:33:06 +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 DB8A726255 for ; Wed, 10 Jan 2018 16:33:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934160AbeAJQbl (ORCPT ); Wed, 10 Jan 2018 11:31:41 -0500 Received: from mout.kundenserver.de ([212.227.126.134]:50637 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753734AbeAJQbk (ORCPT ); Wed, 10 Jan 2018 11:31:40 -0500 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue006 [212.227.15.129]) with ESMTPA (Nemesis) id 0Maxwc-1eJQ1o0U3O-00KP0w; Wed, 10 Jan 2018 17:31:38 +0100 From: Arnd Bergmann To: Dmitry Torokhov Cc: Arnd Bergmann , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] input: of_touchscreen: add MODULE_LICENSE Date: Wed, 10 Jan 2018 17:31:26 +0100 Message-Id: <20180110163137.543730-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:ta2+I4mq77vQib/wZLC4mDZWiJ+Ag+2EvK9F8ru2q/ZIeuEhuJp y+c3ZDnm5Lkn+tfms/FJbUDWU54x2nR/QnAiCChBw4MWm1UfyhV0O3sIJeazgNE7XxLStpl 1uqiG6LPB8IByuObx0VYOeywoSqZWKPLRoduZ+iWRWWTjs9vLGfTMjxRXaAzeqliTJfmU3+ lKGspuVTp72i7VeQrse+A== X-UI-Out-Filterresults: notjunk:1; V01:K0:Z8FzbN3f9IA=:XMvnDnVoKAsLzKRHH2vbY2 zJK69RJ8sTBdL2Dki6hvYaQL1vojMaab1qIRJKS0t5PDXT8OECpPxsU7pNkrjKjCCUjysMYUW dq/zWor5KtAgBbcJnokVac59J0bRZ9g0u2Gl/X9Q3cRHqxgb/I09UO3WVL0dklJD46cT0jafv bp66G0loYt7ZOPNlqSc74KM6Bbhb3Zrq9E3UkvZiZKCwwWp3EjtUGCBF1J9YcYs7Gan9ZGGRT jQhB2wl3EYFBsy+uKjUoRXJzAzV30cc45U9ojfyajG+JB9iGxQOPX7V4BuHeXZf8SFsHsjBuL NpmoUHubCHCVYwbDgdi2M/o1lqJpeJXTu8MBl5jD3bkQWn1E/JFqZqhVW9hgA2LHwA501uoxl I0zzg2gIP6tRnoHAKtxG+wse8H0MZEdedRoLhBA2xdpTnjok6ndW9WFDE0HduDrV/gXlcj+iP XPwZEkH2Gie2G/SLJDZEN6qLXCVYl8DLAUra3vBXM6aBW5mcHRUyZYx+drbJjAmoSWNBrwWqr IU9r8/OISIEo7yT1nFt4JIUIxnk3KBwqDVloQ/+i2QqK7WtEeM5e9xQApn24V8wXeZQWnroKP 1EFyBd+OfBsoST/042pOApDh2Xv2YqgyvDp4EJ2plf02uIgklXuc+7yfeSKVHqZNuPqTE/PEj gK5fCQWLthYq/du5zZP0xrPEgxxNQriWibUHRIrsTtBEZTm74nAhN6B0y2g1xGRF23Zsd3moP Rfzw0iLmHibsXXRIXsR56IBv9U+uidnZmtdGOQ== Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The lack of the MODULE_LICENSE tag can lead to a warning here: WARNING: modpost: missing MODULE_LICENSE() in drivers/input/touchscreen/of_touchscreen.o I'm adding a license and description tag, but no MODULE_AUTHOR() as this file is a collection of standalone helper functions that were all added by different developers. Signed-off-by: Arnd Bergmann --- drivers/input/touchscreen/of_touchscreen.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/input/touchscreen/of_touchscreen.c b/drivers/input/touchscreen/of_touchscreen.c index 8d7f9c8f2771..9642f103b726 100644 --- a/drivers/input/touchscreen/of_touchscreen.c +++ b/drivers/input/touchscreen/of_touchscreen.c @@ -13,6 +13,7 @@ #include #include #include +#include static bool touchscreen_get_prop_u32(struct device *dev, const char *property, @@ -185,3 +186,6 @@ void touchscreen_report_pos(struct input_dev *input, input_report_abs(input, multitouch ? ABS_MT_POSITION_Y : ABS_Y, y); } EXPORT_SYMBOL(touchscreen_report_pos); + +MODULE_LICENSE("GPL v2"); +MODULE_DESCRIPTION("Device-tree helpers functions for touchscreen devices");