Linux Audio

Check our new training course

Loading...
v6.8
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef __HID_LG_H
 3#define __HID_LG_H
 4
 5struct lg_drv_data {
 6	unsigned long quirks;
 7	void *device_props;	/* Device specific properties */
 8};
 9
10#ifdef CONFIG_LOGITECH_FF
11int lgff_init(struct hid_device *hdev);
12#else
13static inline int lgff_init(struct hid_device *hdev) { return -1; }
14#endif
15
16#ifdef CONFIG_LOGIRUMBLEPAD2_FF
17int lg2ff_init(struct hid_device *hdev);
18#else
19static inline int lg2ff_init(struct hid_device *hdev) { return -1; }
20#endif
21
22#ifdef CONFIG_LOGIG940_FF
23int lg3ff_init(struct hid_device *hdev);
24#else
25static inline int lg3ff_init(struct hid_device *hdev) { return -1; }
26#endif
27
28#endif
v4.10.11
 
 1#ifndef __HID_LG_H
 2#define __HID_LG_H
 3
 4struct lg_drv_data {
 5	unsigned long quirks;
 6	void *device_props;	/* Device specific properties */
 7};
 8
 9#ifdef CONFIG_LOGITECH_FF
10int lgff_init(struct hid_device *hdev);
11#else
12static inline int lgff_init(struct hid_device *hdev) { return -1; }
13#endif
14
15#ifdef CONFIG_LOGIRUMBLEPAD2_FF
16int lg2ff_init(struct hid_device *hdev);
17#else
18static inline int lg2ff_init(struct hid_device *hdev) { return -1; }
19#endif
20
21#ifdef CONFIG_LOGIG940_FF
22int lg3ff_init(struct hid_device *hdev);
23#else
24static inline int lg3ff_init(struct hid_device *hdev) { return -1; }
25#endif
26
27#endif