.\" 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 "OCP_UNREGISTER_DRIVER" "" "06 October 2005" "" ""
.SH NAME
ocp_unregister_driver \- unregister a ocp driver
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void ocp_unregister_driver (struct ocp_driver * \fIdrv\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdrv\fB\fR
the driver structure to unregister
.SH "DESCRIPTION"
.PP
Deletes the driver structure from the list of registered OCP drivers,
gives it a chance to clean up by calling its \fBremove\fR function for
each device it was responsible for, and marks those devices as
driverless.