forked from len0rd/rockbox
usb: add request data argument to all control request handlers
Change-Id: I237143fa0d95c914b8e25ed22f8acde96ec00551
This commit is contained in:
parent
b69d43c247
commit
dff8320a5d
8 changed files with 38 additions and 32 deletions
|
@ -80,7 +80,7 @@ struct usb_class_driver {
|
|||
able to handle it, it should ack the request, and return true. Otherwise
|
||||
it should return false.
|
||||
Optional function */
|
||||
bool (*control_request)(struct usb_ctrlrequest* req, unsigned char *dest);
|
||||
bool (*control_request)(struct usb_ctrlrequest* req, void* reqdata, unsigned char *dest);
|
||||
|
||||
#ifdef HAVE_HOTSWAP
|
||||
/* Tells the driver that a hotswappable disk/card was inserted or
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue