blob: 4b097286dc789ab009b1df11630954d0f4d9631f [file] [log] [blame]
Jiri Slaby606bd0a2008-07-04 23:06:45 +02001#ifndef __HID_LG_H
2#define __HID_LG_H
3
Jiri Slaby606bd0a2008-07-04 23:06:45 +02004#ifdef CONFIG_LOGITECH_FF
5int lgff_init(struct hid_device *hdev);
6#else
7static inline int lgff_init(struct hid_device *hdev) { return -1; }
8#endif
9
10#ifdef CONFIG_LOGIRUMBLEPAD2_FF
11int lg2ff_init(struct hid_device *hdev);
12#else
13static inline int lg2ff_init(struct hid_device *hdev) { return -1; }
14#endif
15
Gary Stein74f292c2010-01-13 00:25:58 +010016#ifdef CONFIG_LOGIG940_FF
17int lg3ff_init(struct hid_device *hdev);
18#else
19static inline int lg3ff_init(struct hid_device *hdev) { return -1; }
20#endif
21
Michal Malýa7ac90f2011-08-04 16:24:22 +020022#ifdef CONFIG_LOGIWHEELS_FF
Simon Wood32c88cb2010-09-22 13:19:42 +020023int lg4ff_init(struct hid_device *hdev);
Michal Malý30bb75d2011-08-04 16:20:40 +020024int lg4ff_deinit(struct hid_device *hdev);
Simon Wood32c88cb2010-09-22 13:19:42 +020025#else
26static inline int lg4ff_init(struct hid_device *hdev) { return -1; }
Michal Malý30bb75d2011-08-04 16:20:40 +020027static inline int lg4ff_deinit(struct hid_device *hdev) { return -1; }
Simon Wood32c88cb2010-09-22 13:19:42 +020028#endif
29
Jiri Slaby606bd0a2008-07-04 23:06:45 +020030#endif