summaryrefslogtreecommitdiff
path: root/drivers/hid
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2019-03-05 17:25:12 +0300
committerJiri Kosina <jkosina@suse.cz>2019-03-05 17:25:12 +0300
commit3a69ae20cbc36f302b4b57e0de577b85dfbebba5 (patch)
tree3f720631b6f388bde26c30cdcee8a33e7ad74f8e /drivers/hid
parent2c2e5bb97544198a62e4edbf6aca5dd201979564 (diff)
parent8471300fce4cf2593267d07d6db50709c89049b4 (diff)
downloadlinux-3a69ae20cbc36f302b4b57e0de577b85dfbebba5.tar.xz
Merge branch 'for-5.1/hid-elan' into for-linus
Diffstat (limited to 'drivers/hid')
-rw-r--r--drivers/hid/hid-elan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-elan.c b/drivers/hid/hid-elan.c
index 0bfd6d1b44c1..1c62095cee99 100644
--- a/drivers/hid/hid-elan.c
+++ b/drivers/hid/hid-elan.c
@@ -393,7 +393,7 @@ static int elan_start_multitouch(struct hid_device *hdev)
* This byte sequence will enable multitouch mode and disable
* mouse emulation
*/
- const unsigned char buf[] = { 0x0D, 0x00, 0x03, 0x21, 0x00 };
+ static const unsigned char buf[] = { 0x0D, 0x00, 0x03, 0x21, 0x00 };
unsigned char *dmabuf = kmemdup(buf, sizeof(buf), GFP_KERNEL);
if (!dmabuf)