diff options
author | Jiri Kosina <jkosina@suse.cz> | 2019-03-05 15:25:12 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2019-03-05 15:25:12 +0100 |
commit | 3a69ae20cbc36f302b4b57e0de577b85dfbebba5 (patch) | |
tree | 3f720631b6f388bde26c30cdcee8a33e7ad74f8e /drivers/hid | |
parent | Merge branch 'for-5.1/hid-asus' into for-linus (diff) | |
parent | HID: elan: Make array buf static, shrinks object size (diff) | |
download | linux-3a69ae20cbc36f302b4b57e0de577b85dfbebba5.tar.xz linux-3a69ae20cbc36f302b4b57e0de577b85dfbebba5.zip |
Merge branch 'for-5.1/hid-elan' into for-linus
Diffstat (limited to 'drivers/hid')
-rw-r--r-- | drivers/hid/hid-elan.c | 2 |
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) |