xref: /linux/drivers/hid/hid-lg.h (revision 498495dba268b20e8eadd7fe93c140c68b6cc9d2)
1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
2606bd0a8SJiri Slaby #ifndef __HID_LG_H
3606bd0a8SJiri Slaby #define __HID_LG_H
4606bd0a8SJiri Slaby 
58577dbf9SMichal Malý struct lg_drv_data {
68577dbf9SMichal Malý 	unsigned long quirks;
78577dbf9SMichal Malý 	void *device_props;	/* Device specific properties */
88577dbf9SMichal Malý };
98577dbf9SMichal Malý 
10606bd0a8SJiri Slaby #ifdef CONFIG_LOGITECH_FF
11606bd0a8SJiri Slaby int lgff_init(struct hid_device *hdev);
12606bd0a8SJiri Slaby #else
lgff_init(struct hid_device * hdev)13606bd0a8SJiri Slaby static inline int lgff_init(struct hid_device *hdev) { return -1; }
14606bd0a8SJiri Slaby #endif
15606bd0a8SJiri Slaby 
16606bd0a8SJiri Slaby #ifdef CONFIG_LOGIRUMBLEPAD2_FF
17606bd0a8SJiri Slaby int lg2ff_init(struct hid_device *hdev);
18606bd0a8SJiri Slaby #else
lg2ff_init(struct hid_device * hdev)19606bd0a8SJiri Slaby static inline int lg2ff_init(struct hid_device *hdev) { return -1; }
20606bd0a8SJiri Slaby #endif
21606bd0a8SJiri Slaby 
2274f292caSGary Stein #ifdef CONFIG_LOGIG940_FF
2374f292caSGary Stein int lg3ff_init(struct hid_device *hdev);
2474f292caSGary Stein #else
lg3ff_init(struct hid_device * hdev)2574f292caSGary Stein static inline int lg3ff_init(struct hid_device *hdev) { return -1; }
2674f292caSGary Stein #endif
2774f292caSGary Stein 
28606bd0a8SJiri Slaby #endif
29