Content-Type: multipart/mixed; boundary="===============0984661853896867766==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] Input: nt36xxx_memory_maps[] can be static Date: Sun, 27 Sep 2020 04:23:56 +0800 Message-ID: <20200926202356.GA33239@2adff5953e79> In-Reply-To: <20200926124747.12465-3-kholk11@gmail.com> List-Id: --===============0984661853896867766== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Signed-off-by: kernel test robot --- nt36xxx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/input/touchscreen/nt36xxx.c b/drivers/input/touchscree= n/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[] =3D { +static const struct nt36xxx_mem_map nt36xxx_memory_maps[] =3D { [NT36525_IC] =3D { 0x11a00, 0x10000, 0x12000, 0x14000, 0x14002 }, [NT36672A_IC] =3D { 0x21c00, 0x20000, 0x23000, 0x24000, 0x24002 }, [NT36676F_IC] =3D { 0x11a00, 0x10000, 0x12000, 0x14000, 0x14002 }, @@ -22,7 +22,7 @@ const struct nt36xxx_mem_map nt36xxx_memory_maps[] =3D { [NT36870_IC] =3D { 0x25000, 0x20000, 0x23000, 0x24000, 0x24002 }, }; = -const struct nt36xxx_trim_table trim_id_table[] =3D { +static const struct nt36xxx_trim_table trim_id_table[] =3D { { .id =3D { 0x0A, 0xFF, 0xFF, 0x72, 0x66, 0x03 }, .mask =3D { 1, 0, 0, 1, 1, 1 }, --===============0984661853896867766==--