/drivers/hid/hid-lg.h
C++ Header | 28 lines | 23 code | 5 blank | 0 comment | 0 complexity | 5dfe31d3b12f2b2f3bd32aeb3122fad5 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.0, AGPL-1.0
1#ifndef __HID_LG_H 2#define __HID_LG_H 3 4#ifdef CONFIG_LOGITECH_FF 5int lgff_init(struct hid_device *hdev); 6#else 7static inline int lgff_init(struct hid_device *hdev) { return -1; } 8#endif 9 10#ifdef CONFIG_LOGIRUMBLEPAD2_FF 11int lg2ff_init(struct hid_device *hdev); 12#else 13static inline int lg2ff_init(struct hid_device *hdev) { return -1; } 14#endif 15 16#ifdef CONFIG_LOGIG940_FF 17int lg3ff_init(struct hid_device *hdev); 18#else 19static inline int lg3ff_init(struct hid_device *hdev) { return -1; } 20#endif 21 22#ifdef CONFIG_LOGIWII_FF 23int lg4ff_init(struct hid_device *hdev); 24#else 25static inline int lg4ff_init(struct hid_device *hdev) { return -1; } 26#endif 27 28#endif