Correctly fix build without HID support

Suggested by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2018-03-31 11:42:46 -07:00
parent 156cac65b6
commit 0e0ee16ea6

View File

@ -848,4 +848,12 @@ out:
return status; return status;
} }
#else /* !USBHID */
dc_status_t
dc_usbhid_custom_io (dc_context_t *context, unsigned int vid, unsigned int pid)
{
return DC_STATUS_UNSUPPORTED;
}
#endif #endif