.\" 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_ADD_ONE_DEVICE" "9" "09 October 2005" "" ""
.SH NAME
ocp_add_one_device \- Add a device
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int ocp_add_one_device (struct ocp_def * \fIdef\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdef\fB\fR
static device definition structure
.SH "DESCRIPTION"
.PP
This function adds a device definition to the
device list. It may only be called before
\fBocp_driver_init\fR and will return an error
otherwise.