From c41e806042f88d1cc48ddf3ed92c1ad87db7fd84 Mon Sep 17 00:00:00 2001 From: Alan Ott Date: Sat, 10 Sep 2011 17:47:08 -0400 Subject: [PATCH] Add empty hid_init() and hid_exit to linux/hid.c --- linux/hid.c | 11 +++++++++++ 1 file changed, 11 insertions(+) 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) {