.\" 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_FIND_INTERFACE" "" "06 October 2005" "" ""
.SH NAME
usb_find_interface \- find usb_interface pointer for driver and device
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
struct usb_interface * usb_find_interface (struct usb_driver * \fIdrv\fB, int \fIminor\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdrv\fB\fR
the driver whose current configuration is considered
.TP
\fB\fIminor\fB\fR
the minor number of the desired device
.SH "DESCRIPTION"
.PP
This walks the driver device list and returns a pointer to the interface
with the matching minor. Note, this only works for devices that share the
USB major number.