Jiri Slaby | 606bd0a | 2008-07-04 23:06:45 +0200 | [diff] [blame] | 1 | #ifndef __HID_LG_H |
| 2 | #define __HID_LG_H |
| 3 | |
| 4 | #include <linux/autoconf.h> |
| 5 | |
| 6 | #ifdef CONFIG_LOGITECH_FF |
| 7 | int lgff_init(struct hid_device *hdev); |
| 8 | #else |
| 9 | static inline int lgff_init(struct hid_device *hdev) { return -1; } |
| 10 | #endif |
| 11 | |
| 12 | #ifdef CONFIG_LOGIRUMBLEPAD2_FF |
| 13 | int lg2ff_init(struct hid_device *hdev); |
| 14 | #else |
| 15 | static inline int lg2ff_init(struct hid_device *hdev) { return -1; } |
| 16 | #endif |
| 17 | |
Gary Stein | 74f292c | 2010-01-13 00:25:58 +0100 | [diff] [blame^] | 18 | #ifdef CONFIG_LOGIG940_FF |
| 19 | int lg3ff_init(struct hid_device *hdev); |
| 20 | #else |
| 21 | static inline int lg3ff_init(struct hid_device *hdev) { return -1; } |
| 22 | #endif |
| 23 | |
Jiri Slaby | 606bd0a | 2008-07-04 23:06:45 +0200 | [diff] [blame] | 24 | #endif |