usb_alloc_bus(9)
NAME
usb_alloc_bus - creates a new USB host controller struc
ture
SYNOPSIS
struct usb_bus * usb_alloc_bus (struct usb_operations *op);
ARGUMENTS
- op pointer to a struct usb_operations that this
- bus structure should use
DESCRIPTION
Creates a USB host controller bus structure with the spec
ified usb_operations and initializes all the necessary
internal objects. (For use only by USB Host Controller
Drivers.)
If no memory is available, NULL is returned.
- The caller should call usb_free_bus when it is finished
with the structure.