diff --git a/linux/hid.c b/linux/hid.c index 2e2fe0f..5c2a1c1 100644 --- a/linux/hid.c +++ b/linux/hid.c @@ -203,6 +203,17 @@ end: return ret; } +int HID_API_EXPORT hid_init(void) +{ + /* Nothing to do for this in the Linux/hidraw implementation. */ + return 0; +} + +int HID_API_EXPORT hid_exit(void) +{ + /* Nothing to do for this in the Linux/hidraw implementation. */ + return 0; +} struct hid_device_info HID_API_EXPORT *hid_enumerate(unsigned short vendor_id, unsigned short product_id) {