summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-monterey.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hid/hid-monterey.c')
-rw-r--r--drivers/hid/hid-monterey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-monterey.c b/drivers/hid/hid-monterey.c
index 989681f73d77..3089be990afe 100644
--- a/drivers/hid/hid-monterey.c
+++ b/drivers/hid/hid-monterey.c
@@ -18,7 +18,7 @@
#include "hid-ids.h"
-static __u8 *mr_report_fixup(struct hid_device *hdev, __u8 *rdesc,
+static const __u8 *mr_report_fixup(struct hid_device *hdev, __u8 *rdesc,
unsigned int *rsize)
{
if (*rsize >= 31 && rdesc[29] == 0x05 && rdesc[30] == 0x09) {