Skip to content

Commit 49cf20b

Browse files
t-8chBenjamin Tissoires
authored andcommitted
HID: vrc2: constify fixed up report descriptor
Now that the HID core can handle const report descriptors, constify them where possible. Signed-off-by: Thomas Weißschuh <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Benjamin Tissoires <[email protected]>
1 parent c06df4c commit 49cf20b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/hid/hid-vrc2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#define USB_VENDOR_ID_VRC2 (0x07c0)
1717
#define USB_DEVICE_ID_VRC2 (0x1125)
1818

19-
static __u8 vrc2_rdesc_fixed[] = {
19+
static const __u8 vrc2_rdesc_fixed[] = {
2020
0x05, 0x01, // Usage Page (Generic Desktop Ctrls)
2121
0x09, 0x04, // Usage (Joystick)
2222
0xA1, 0x01, // Collection (Application)

0 commit comments

Comments
 (0)