.\" 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 "DEVICE_INITIALIZE" "9" "09 October 2005" "" ""
.SH NAME
device_initialize \- init device structure.
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void device_initialize (struct device * \fIdev\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdev\fB\fR
device.
.SH "DESCRIPTION"
.PP
This prepares the device for use by other layers,
including adding it to the device hierarchy.
It is the first half of \fBdevice_register\fR, if called by
that, though it can also be called separately, so one
may use \fIdev\fR\&'s fields (e.g. the refcount).