summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-redragon.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hid/hid-redragon.c')
-rw-r--r--drivers/hid/hid-redragon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-redragon.c b/drivers/hid/hid-redragon.c
index 07d803513f27..20d28ed75c1e 100644
--- a/drivers/hid/hid-redragon.c
+++ b/drivers/hid/hid-redragon.c
@@ -33,7 +33,7 @@
* key codes are generated.
*/
-static __u8 *redragon_report_fixup(struct hid_device *hdev, __u8 *rdesc,
+static const __u8 *redragon_report_fixup(struct hid_device *hdev, __u8 *rdesc,
unsigned int *rsize)
{
if (*rsize >= 102 && rdesc[100] == 0x81 && rdesc[101] == 0x00) {