USB_GADGET_REGISTER_DRIVER

Section: (9)
Updated: 14 August 2003
Index Return to Main Contents

 

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. This function must be called in a context that can sleep.  

ABOUT THIS DOCUMENT

This documentation was generated with kernel version 2.6.0.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
ABOUT THIS DOCUMENT

This document was created by man2html, using the manual pages.
Time: 23:19:30 GMT, August 13, 2003