summaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/surface3_spi.c
diff options
context:
space:
mode:
authorDmitry Torokhov2017-09-15 18:52:21 +0200
committerDmitry Torokhov2017-09-15 18:52:21 +0200
commitbbc8608755da42e7494c00dce24a636007972def (patch)
tree7db003ee57a435042dedfa6664aef31c24922c04 /drivers/input/touchscreen/surface3_spi.c
parentMerge branch 'next' into for-linus (diff)
parentInput: i8042 - add Gigabyte P57 to the keyboard reset table (diff)
downloadkernel-qcow2-linux-bbc8608755da42e7494c00dce24a636007972def.tar.gz
kernel-qcow2-linux-bbc8608755da42e7494c00dce24a636007972def.tar.xz
kernel-qcow2-linux-bbc8608755da42e7494c00dce24a636007972def.zip
Merge branch 'next' into for-linus
Prepare second round of input updates for 4.14 merge window.
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;