Add empty hid_init() and hid_exit to linux/hid.c

This commit is contained in:
Alan Ott
2011-09-10 17:47:08 -04:00
parent 27a0ad59e9
commit c41e806042
+11
View File
@@ -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)
{