usb_gadget_register_(9)

NAME

usb_gadget_register_driver - register a gadget driver

SYNOPSIS

int usb_gadget_register_driver(struct usb_gadget_driver * driver);

ARGUMENTS

driver
the driver being registered

DESCRIPTION

Call this in your gadget driverīs module initialization function, to
tell the underlying usb controller driver about your driver. The
driverīs bind function will be called to bind it to a gadget before this registration call returns. Itīs expected that the bind functions will be in init sections. This function must be called in a context
that can sleep.

AUTHOR

David Brownell <dbrownell@users.sourceforge.net>
Author.

COPYRIGHT

Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout