linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kholk11@gmail.com, dmitry.torokhov@gmail.com
Cc: kbuild-all@lists.01.org, robh+dt@kernel.org, rydberg@bitmath.org,
	priv.luk@gmail.com, linux-input@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	AngeloGioacchino Del Regno <kholk11@gmail.com>
Subject: [RFC PATCH] Input: nt36xxx_memory_maps[] can be static
Date: Sun, 27 Sep 2020 04:23:56 +0800	[thread overview]
Message-ID: <20200926202356.GA33239@2adff5953e79> (raw)
In-Reply-To: <20200926124747.12465-3-kholk11@gmail.com>


Signed-off-by: kernel test robot <lkp@intel.com>
---
 nt36xxx.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/input/touchscreen/nt36xxx.c b/drivers/input/touchscreen/nt36xxx.c
index 2434c1ac880899..c5c3ba643ce5e4 100644
--- a/drivers/input/touchscreen/nt36xxx.c
+++ b/drivers/input/touchscreen/nt36xxx.c
@@ -14,7 +14,7 @@
 
 #include "nt36xxx.h"
 
-const struct nt36xxx_mem_map nt36xxx_memory_maps[] = {
+static const struct nt36xxx_mem_map nt36xxx_memory_maps[] = {
 	[NT36525_IC]  = { 0x11a00, 0x10000, 0x12000, 0x14000, 0x14002 },
 	[NT36672A_IC] = { 0x21c00, 0x20000, 0x23000, 0x24000, 0x24002 },
 	[NT36676F_IC] = { 0x11a00, 0x10000, 0x12000, 0x14000, 0x14002 },
@@ -22,7 +22,7 @@ const struct nt36xxx_mem_map nt36xxx_memory_maps[] = {
 	[NT36870_IC]  = { 0x25000, 0x20000, 0x23000, 0x24000, 0x24002 },
 };
 
-const struct nt36xxx_trim_table trim_id_table[] = {
+static const struct nt36xxx_trim_table trim_id_table[] = {
 	{
 	 .id = { 0x0A, 0xFF, 0xFF, 0x72, 0x66, 0x03 },
 	 .mask = { 1, 0, 0, 1, 1, 1 },

  parent reply	other threads:[~2020-09-26 20:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-26 12:47 [PATCH 0/3] Add Novatek NT36xxx touchscreen driver kholk11
2020-09-26 12:47 ` [PATCH 1/3] dt-bindings: Add vendor prefix for Novatek Microelectronics Corp kholk11
2020-09-26 12:47 ` [PATCH 2/3] Input: Add Novatek NT36xxx touchscreen driver kholk11
2020-09-26 20:23   ` kernel test robot
2020-09-26 20:23   ` kernel test robot [this message]
2020-09-26 12:47 ` [PATCH 3/3] dt-bindings: touchscreen: Add binding for Novatek NT36xxx series driver kholk11

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200926202356.GA33239@2adff5953e79 \
    --to=lkp@intel.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=kbuild-all@lists.01.org \
    --cc=kholk11@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=priv.luk@gmail.com \
    --cc=robh+dt@kernel.org \
    --cc=rydberg@bitmath.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).