hid-lg.h 641 B

12345678910111213141516171819202122232425262728
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __HID_LG_H
  3. #define __HID_LG_H
  4. struct lg_drv_data {
  5. unsigned long quirks;
  6. void *device_props; /* Device specific properties */
  7. };
  8. #ifdef CONFIG_LOGITECH_FF
  9. int lgff_init(struct hid_device *hdev);
  10. #else
  11. static inline int lgff_init(struct hid_device *hdev) { return -1; }
  12. #endif
  13. #ifdef CONFIG_LOGIRUMBLEPAD2_FF
  14. int lg2ff_init(struct hid_device *hdev);
  15. #else
  16. static inline int lg2ff_init(struct hid_device *hdev) { return -1; }
  17. #endif
  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. #endif