net: DCB: Validate DCB_ATTR_DCB_BUFFER argument
[linux/fpc-iii.git] / drivers / hid / hid-lg.h
blob3d8902ba1c6cd56d874de5e5708164753444b8d9
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __HID_LG_H
3 #define __HID_LG_H
5 struct lg_drv_data {
6 unsigned long quirks;
7 void *device_props; /* Device specific properties */
8 };
10 #ifdef CONFIG_LOGITECH_FF
11 int lgff_init(struct hid_device *hdev);
12 #else
13 static inline int lgff_init(struct hid_device *hdev) { return -1; }
14 #endif
16 #ifdef CONFIG_LOGIRUMBLEPAD2_FF
17 int lg2ff_init(struct hid_device *hdev);
18 #else
19 static inline int lg2ff_init(struct hid_device *hdev) { return -1; }
20 #endif
22 #ifdef CONFIG_LOGIG940_FF
23 int lg3ff_init(struct hid_device *hdev);
24 #else
25 static inline int lg3ff_init(struct hid_device *hdev) { return -1; }
26 #endif
28 #endif