Blackfin: H8606: fixup bogus ioresource init
[linux-2.6/linux-mips.git] / drivers / hid / hid-lg.h
blob4b097286dc789ab009b1df11630954d0f4d9631f
1 #ifndef __HID_LG_H
2 #define __HID_LG_H
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
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
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
22 #ifdef CONFIG_LOGIWHEELS_FF
23 int lg4ff_init(struct hid_device *hdev);
24 int lg4ff_deinit(struct hid_device *hdev);
25 #else
26 static inline int lg4ff_init(struct hid_device *hdev) { return -1; }
27 static inline int lg4ff_deinit(struct hid_device *hdev) { return -1; }
28 #endif
30 #endif