From 5c8264c319426ff27df12948fac1caaf5da8a60b Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 6 Aug 2025 09:51:35 +0800 Subject: [PATCH] input: touchscreen: gslx680_pad: make g_wake_pin/g_irq_pin/gsl1686_config_data_id static Change-Id: Id54b29798c2d3b91429f72245e3bc045a410fd1d Signed-off-by: Tao Huang --- drivers/input/touchscreen/gslx680_pad.c | 4 ++-- drivers/input/touchscreen/gslx680_pad.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/input/touchscreen/gslx680_pad.c b/drivers/input/touchscreen/gslx680_pad.c index c8a69c8a3aea..aa50ded8ff8e 100644 --- a/drivers/input/touchscreen/gslx680_pad.c +++ b/drivers/input/touchscreen/gslx680_pad.c @@ -45,8 +45,8 @@ #define GSLX680_I2C_NAME "gslX680-pad" #define GSLX680_I2C_ADDR 0x40 -int g_wake_pin=0; -int g_irq_pin=0; +static int g_wake_pin; +static int g_irq_pin; #define GSL_DATA_REG 0x80 #define GSL_STATUS_REG 0xe0 diff --git a/drivers/input/touchscreen/gslx680_pad.h b/drivers/input/touchscreen/gslx680_pad.h index 76395db2e79d..0db899416851 100644 --- a/drivers/input/touchscreen/gslx680_pad.h +++ b/drivers/input/touchscreen/gslx680_pad.h @@ -235,7 +235,7 @@ static int gsl3678_config_data_id[] = 0,0,0,0,0,0,0, }; -unsigned int gsl1686_config_data_id[] = { +static unsigned int gsl1686_config_data_id[] = { 0xc9259d, 0x200, 0,0,