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: 124111 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp5481846qgn; Wed, 10 Jan 2018 08:31:45 -0800 (PST) X-Google-Smtp-Source: ACJfBosypA1SCABkndBuJqVlpgR5bDKIBYiWYSxrQgfz3L+UZiCMPZ1Hyn1Vz2rB6wbXJa/P4ih3 X-Received: by 10.84.216.84 with SMTP id f20mr961624plj.102.1515601905036; Wed, 10 Jan 2018 08:31:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1515601905; cv=none; d=google.com; s=arc-20160816; b=qqdkHKFXZOL9mdhfZCFWBpgvk4mGTlT2UG0oAopVos+NXmi8GaJwMskkGon0BXtxPX VlLS2QzpaJB8hcCHFN0zBbdrtvmaqEmT/54XNdF4R2vGUXv+pN+xtWzGyldVQ1hkiw97 1xafT1hGXq0GIUSUr3NsX0KgvC6GU7fT4i7TOfA5pH83NAiykq/b8m/f6sUwkhkPwCV9 Wtz1detlzkYZCOVqGAQ3Kge/OPA0nTqu3+dIWAaG5nDMVH4ePgRRgSiyf/XvKY3un2bt 6NJS89/lqWfxq3BaPqEQ3am6hfjj0dv4KD9kWdn0h0rUIWOc1roXvEkmbvYFd0dGtB/a b5IQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=DkBiuUeKdopmCeQeW5fUd50z85JAHzYUZvr5SiXya1o=; b=nlYZrwIDxw5tTWvwu7W8bbnyJ2BFtX1fa290gROgLRBBUQ0muclnZe0Ip1awC0BVTs 0HLkVuEfBJdbFb/B7PyPveXthzLaGaa5ppog+7l/guyxvz+dCbfWvmbjYtuFtiOvtkzF LN0hEznK1ybfeHvIgkI05TCiS+lZFC/B/+ThjR77SqmTHzVnN5hex0CqPP309Mgurz6W W0eDGB1y/rUZ+Cp9BbG5YyRMkJzHyTJ0QixATYU5c1cHDG+XiRd0Lz3oLQZs0StWVx1M QL251zkliHnf9lo5Ne73tL2TyBAxBOpURcYztTU8K8wG7uEnebKM3BCqTmdsCTZrDyvm ClLw== 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 i6si12106955plt.461.2018.01.10.08.31.44; Wed, 10 Jan 2018 08:31:45 -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 S965852AbeAJQbn (ORCPT + 28 others); Wed, 10 Jan 2018 11:31:43 -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 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Q== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.9.0 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");