.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "USB_DRIVER_CLAIM_INTERFACE" "" "06 October 2005" "" ""
.SH NAME
usb_driver_claim_interface \- bind a driver to an interface
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int usb_driver_claim_interface (struct usb_driver * \fIdriver\fB, struct usb_interface * \fIiface\fB, void* \fIpriv\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdriver\fB\fR
the driver to be bound
.TP
\fB\fIiface\fB\fR
the interface to which it will be bound
.TP
\fB\fIpriv\fB\fR
driver data associated with that interface
.SH "DESCRIPTION"
.PP
This is used by usb device drivers that need to claim more than one
interface on a device when probing (audio and acm are current examples).
No device driver should directly modify internal usb_interface or
usb_device structure members.
.PP
Few drivers should need to use this routine, since the most natural
way to bind to an interface is to return the private data from
the driver's \fBprobe\fR method.