[RFC PATCH] Input: nt36xxx_memory_maps[] can be static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: kernel test robot <lkp@xxxxxxxxx>
---
 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 },



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux