brintos

brintos / linux-shallow public Read only

0
0
Text · 641 B · 3d8902b Raw
29 lines · c
1/* SPDX-License-Identifier: GPL-2.0 */2#ifndef __HID_LG_H3#define __HID_LG_H4 5struct lg_drv_data {6	unsigned long quirks;7	void *device_props;	/* Device specific properties */8};9 10#ifdef CONFIG_LOGITECH_FF11int lgff_init(struct hid_device *hdev);12#else13static inline int lgff_init(struct hid_device *hdev) { return -1; }14#endif15 16#ifdef CONFIG_LOGIRUMBLEPAD2_FF17int lg2ff_init(struct hid_device *hdev);18#else19static inline int lg2ff_init(struct hid_device *hdev) { return -1; }20#endif21 22#ifdef CONFIG_LOGIG940_FF23int lg3ff_init(struct hid_device *hdev);24#else25static inline int lg3ff_init(struct hid_device *hdev) { return -1; }26#endif27 28#endif29