lib/vsprintf.c: kptr_restrict: fix pK-error in SysRq show-all-timers(Q)
[linux-2.6/libata-dev.git] / drivers / hid / hid-lg.h
blobd64cf8d2751e51033b77a58b852dd1ba7ecc7e04
1 #ifndef __HID_LG_H
2 #define __HID_LG_H
4 struct lg_drv_data {
5 unsigned long quirks;
6 void *device_props; /* Device specific properties */
7 };
9 #ifdef CONFIG_LOGITECH_FF
10 int lgff_init(struct hid_device *hdev);
11 #else
12 static inline int lgff_init(struct hid_device *hdev) { return -1; }
13 #endif
15 #ifdef CONFIG_LOGIRUMBLEPAD2_FF
16 int lg2ff_init(struct hid_device *hdev);
17 #else
18 static inline int lg2ff_init(struct hid_device *hdev) { return -1; }
19 #endif
21 #ifdef CONFIG_LOGIG940_FF
22 int lg3ff_init(struct hid_device *hdev);
23 #else
24 static inline int lg3ff_init(struct hid_device *hdev) { return -1; }
25 #endif
27 #ifdef CONFIG_LOGIWHEELS_FF
28 int lg4ff_init(struct hid_device *hdev);
29 int lg4ff_deinit(struct hid_device *hdev);
30 #else
31 static inline int lg4ff_init(struct hid_device *hdev) { return -1; }
32 static inline int lg4ff_deinit(struct hid_device *hdev) { return -1; }
33 #endif
35 #endif