Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef __HID_LG_H
0003 #define __HID_LG_H
0004 
0005 struct lg_drv_data {
0006     unsigned long quirks;
0007     void *device_props; /* Device specific properties */
0008 };
0009 
0010 #ifdef CONFIG_LOGITECH_FF
0011 int lgff_init(struct hid_device *hdev);
0012 #else
0013 static inline int lgff_init(struct hid_device *hdev) { return -1; }
0014 #endif
0015 
0016 #ifdef CONFIG_LOGIRUMBLEPAD2_FF
0017 int lg2ff_init(struct hid_device *hdev);
0018 #else
0019 static inline int lg2ff_init(struct hid_device *hdev) { return -1; }
0020 #endif
0021 
0022 #ifdef CONFIG_LOGIG940_FF
0023 int lg3ff_init(struct hid_device *hdev);
0024 #else
0025 static inline int lg3ff_init(struct hid_device *hdev) { return -1; }
0026 #endif
0027 
0028 #endif