summaryrefslogtreecommitdiff
path: root/drivers/input/touchscreen/surface3_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/touchscreen/surface3_spi.c')
-rw-r--r--drivers/input/touchscreen/surface3_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/surface3_spi.c b/drivers/input/touchscreen/surface3_spi.c
index e12fb9b63f31..5db0f1c4ef38 100644
--- a/drivers/input/touchscreen/surface3_spi.c
+++ b/drivers/input/touchscreen/surface3_spi.c
@@ -173,7 +173,7 @@ static void surface3_spi_process_pen(struct surface3_ts_data *ts_data, u8 *data)
static void surface3_spi_process(struct surface3_ts_data *ts_data)
{
- const char header[] = {
+ static const char header[] = {
0xff, 0xff, 0xff, 0xff, 0xa5, 0x5a, 0xe7, 0x7e, 0x01
};
u8 *data = ts_data->rd_buf;