Skip to content

Commit 65a9164

Browse files
committed
enable compilation on pre 6.1 kernels
1 parent 5eaa115 commit 65a9164

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

xpad.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@
7373
#include <linux/usb/quirks.h>
7474
#include <linux/timer.h>
7575

76+
// enable compilation on pre 6.1 kernels
77+
#ifndef ABS_PROFILE
78+
#define ABS_PROFILE ABS_MISC
79+
#endif
80+
7681
#define XPAD_PKT_LEN 64
7782

7883
/* The Guitar Hero Live (GHL) Xbox One dongles require a poke

0 commit comments

Comments
 (0)