Jiri Slaby | 606bd0a | 2008-07-04 23:06:45 +0200 | [diff] [blame] | 1 | #ifndef __HID_LG_H |
| 2 | #define __HID_LG_H |
| 3 | |
Jiri Slaby | 606bd0a | 2008-07-04 23:06:45 +0200 | [diff] [blame] | 4 | #ifdef CONFIG_LOGITECH_FF |
| 5 | int lgff_init(struct hid_device *hdev); |
| 6 | #else |
| 7 | static inline int lgff_init(struct hid_device *hdev) { return -1; } |
| 8 | #endif |
| 9 | |
| 10 | #ifdef CONFIG_LOGIRUMBLEPAD2_FF |
| 11 | int lg2ff_init(struct hid_device *hdev); |
| 12 | #else |
| 13 | static inline int lg2ff_init(struct hid_device *hdev) { return -1; } |
| 14 | #endif |
| 15 | |
Gary Stein | 74f292c | 2010-01-13 00:25:58 +0100 | [diff] [blame] | 16 | #ifdef CONFIG_LOGIG940_FF |
| 17 | int lg3ff_init(struct hid_device *hdev); |
| 18 | #else |
| 19 | static inline int lg3ff_init(struct hid_device *hdev) { return -1; } |
| 20 | #endif |
| 21 | |
Michal Malý | a7ac90f | 2011-08-04 16:24:22 +0200 | [diff] [blame] | 22 | #ifdef CONFIG_LOGIWHEELS_FF |
Simon Wood | 32c88cb | 2010-09-22 13:19:42 +0200 | [diff] [blame] | 23 | int lg4ff_init(struct hid_device *hdev); |
Michal Malý | 30bb75d | 2011-08-04 16:20:40 +0200 | [diff] [blame] | 24 | int lg4ff_deinit(struct hid_device *hdev); |
Simon Wood | 32c88cb | 2010-09-22 13:19:42 +0200 | [diff] [blame] | 25 | #else |
| 26 | static inline int lg4ff_init(struct hid_device *hdev) { return -1; } |
Michal Malý | 30bb75d | 2011-08-04 16:20:40 +0200 | [diff] [blame] | 27 | static inline int lg4ff_deinit(struct hid_device *hdev) { return -1; } |
Simon Wood | 32c88cb | 2010-09-22 13:19:42 +0200 | [diff] [blame] | 28 | #endif |
| 29 | |
Jiri Slaby | 606bd0a | 2008-07-04 23:06:45 +0200 | [diff] [blame] | 30 | #endif |