.\" 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_REGISTER_DRIVER" "" "06 October 2005" "" ""
.SH NAME
ocp_register_driver \- register a new ocp driver
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int ocp_register_driver (struct ocp_driver * \fIdrv\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdrv\fB\fR
the driver structure to register
.SH "DESCRIPTION"
.PP
Adds the driver structure to the list of registered drivers
Returns the number of ocp devices which were claimed by the driver
during registration. The driver remains registered even if the
return value is zero.