diff options
-rw-r--r-- | drivers/hid/hid-asus.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/hid/hid-asus.c b/drivers/hid/hid-asus.c index 88b9703318e4..d92f8aa2876b 100644 --- a/drivers/hid/hid-asus.c +++ b/drivers/hid/hid-asus.c | |||
@@ -570,7 +570,9 @@ static int asus_input_mapping(struct hid_device *hdev, | |||
570 | static int asus_start_multitouch(struct hid_device *hdev) | 570 | static int asus_start_multitouch(struct hid_device *hdev) |
571 | { | 571 | { |
572 | int ret; | 572 | int ret; |
573 | const unsigned char buf[] = { FEATURE_REPORT_ID, 0x00, 0x03, 0x01, 0x00 }; | 573 | static const unsigned char buf[] = { |
574 | FEATURE_REPORT_ID, 0x00, 0x03, 0x01, 0x00 | ||
575 | }; | ||
574 | unsigned char *dmabuf = kmemdup(buf, sizeof(buf), GFP_KERNEL); | 576 | unsigned char *dmabuf = kmemdup(buf, sizeof(buf), GFP_KERNEL); |
575 | 577 | ||
576 | if (!dmabuf) { | 578 | if (!dmabuf) { |