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,