summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-universal-pidff.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hid/hid-universal-pidff.c')
-rw-r--r--drivers/hid/hid-universal-pidff.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/hid/hid-universal-pidff.c b/drivers/hid/hid-universal-pidff.c
index 7ef5ab9146b1..1b713b741d19 100644
--- a/drivers/hid/hid-universal-pidff.c
+++ b/drivers/hid/hid-universal-pidff.c
@@ -13,6 +13,7 @@
#include <linux/module.h>
#include <linux/input-event-codes.h>
#include "hid-ids.h"
+#include "usbhid/hid-pidff.h"
#define JOY_RANGE (BTN_DEAD - BTN_JOYSTICK + 1)
@@ -89,7 +90,7 @@ static int universal_pidff_probe(struct hid_device *hdev,
}
/* Check if HID_PID support is enabled */
- int (*init_function)(struct hid_device *, __u32);
+ int (*init_function)(struct hid_device *, u32);
init_function = hid_pidff_init_with_quirks;
if (!init_function) {