hid-lg.h 379 B

123456789101112131415161718
  1. #ifndef __HID_LG_H
  2. #define __HID_LG_H
  3. #include <linux/autoconf.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
  9. #ifdef CONFIG_LOGIRUMBLEPAD2_FF
  10. int lg2ff_init(struct hid_device *hdev);
  11. #else
  12. static inline int lg2ff_init(struct hid_device *hdev) { return -1; }
  13. #endif
  14. #endif