Jiri Slaby | 606bd0a | 2008-07-04 23:06:45 +0200 | [diff] [blame] | 1 | #ifndef __HID_LG_H |
| 2 | #define __HID_LG_H |
| 3 | |
Michal MalĂ˝ | 8577dbf | 2012-03-31 11:17:25 +0200 | [diff] [blame] | 4 | struct lg_drv_data { |
| 5 | unsigned long quirks; |
| 6 | void *device_props; /* Device specific properties */ |
| 7 | }; |
| 8 | |
Jiri Slaby | 606bd0a | 2008-07-04 23:06:45 +0200 | [diff] [blame] | 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 |
| 14 | |
| 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 |
| 20 | |
Gary Stein | 74f292c | 2010-01-13 00:25:58 +0100 | [diff] [blame] | 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 |
| 26 | |
Jiri Slaby | 606bd0a | 2008-07-04 23:06:45 +0200 | [diff] [blame] | 27 | #endif |