Merge branches 'upstream-fixes', 'wacom' and 'waltop' into for-linus
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / hid / hid-lg.h
CommitLineData
606bd0a8
JS
1#ifndef __HID_LG_H
2#define __HID_LG_H
3
8577dbf9
MM
4struct lg_drv_data {
5 unsigned long quirks;
6 void *device_props; /* Device specific properties */
7};
8
606bd0a8
JS
9#ifdef CONFIG_LOGITECH_FF
10int lgff_init(struct hid_device *hdev);
11#else
12static inline int lgff_init(struct hid_device *hdev) { return -1; }
13#endif
14
15#ifdef CONFIG_LOGIRUMBLEPAD2_FF
16int lg2ff_init(struct hid_device *hdev);
17#else
18static inline int lg2ff_init(struct hid_device *hdev) { return -1; }
19#endif
20
74f292ca
GS
21#ifdef CONFIG_LOGIG940_FF
22int lg3ff_init(struct hid_device *hdev);
23#else
24static inline int lg3ff_init(struct hid_device *hdev) { return -1; }
25#endif
26
a7ac90f1 27#ifdef CONFIG_LOGIWHEELS_FF
32c88cbc 28int lg4ff_init(struct hid_device *hdev);
30bb75d7 29int lg4ff_deinit(struct hid_device *hdev);
32c88cbc
SW
30#else
31static inline int lg4ff_init(struct hid_device *hdev) { return -1; }
30bb75d7 32static inline int lg4ff_deinit(struct hid_device *hdev) { return -1; }
32c88cbc
SW
33#endif
34
606bd0a8 35#endif