diff options
Diffstat (limited to 'include/linux/hid.h')
-rw-r--r-- | include/linux/hid.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h index 0773ba6a66f2..dcdef0bb4bba 100644 --- a/include/linux/hid.h +++ b/include/linux/hid.h | |||
@@ -757,17 +757,10 @@ int usbhid_quirks_init(char **quirks_param); | |||
757 | void usbhid_quirks_exit(void); | 757 | void usbhid_quirks_exit(void); |
758 | void usbhid_set_leds(struct hid_device *hid); | 758 | void usbhid_set_leds(struct hid_device *hid); |
759 | 759 | ||
760 | #ifdef CONFIG_HID_FF | ||
761 | int hid_ff_init(struct hid_device *hid); | ||
762 | |||
763 | #ifdef CONFIG_HID_PID | 760 | #ifdef CONFIG_HID_PID |
764 | int hid_pidff_init(struct hid_device *hid); | 761 | int hid_pidff_init(struct hid_device *hid); |
765 | #else | 762 | #else |
766 | static inline int hid_pidff_init(struct hid_device *hid) { return -ENODEV; } | 763 | #define hid_pidff_init NULL |
767 | #endif | ||
768 | |||
769 | #else | ||
770 | #define hid_ff_init NULL | ||
771 | #endif | 764 | #endif |
772 | 765 | ||
773 | #ifdef CONFIG_HID_DEBUG | 766 | #ifdef CONFIG_HID_DEBUG |