.\" 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 "I2O_DEVICE_CLASS_ADD" "9" "09 October 2005" "" ""
.SH NAME
i2o_device_class_add \- Adds attributes to the I2O device
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int i2o_device_class_add (struct class_device * \fIcd\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIcd\fB\fR
I2O class device which is added to the I2O device class
.SH "DESCRIPTION"
.PP
This function get called when a I2O device is added to the class. It
creates the attributes for each device and creates user/parent symlink
if necessary.
.PP
Returns 0 on success or negative error code on failure.