mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
binding a device driver could fail.. handle this case
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14493 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
195ef597f5
commit
4474d6827c
6 changed files with 19 additions and 11 deletions
|
@ -25,7 +25,7 @@
|
|||
*/
|
||||
struct usb_device_driver {
|
||||
const char* name;
|
||||
void (*bind)(void* controller_ops);
|
||||
int (*bind)(void* controller_ops);
|
||||
void (*unbind)(void);
|
||||
int (*request)(struct usb_ctrlrequest* req);
|
||||
void (*suspend)(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue