.\" 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 "LCD_DEVICE_REGISTER" "9" "09 October 2005" "" "" .SH NAME lcd_device_register \- register a new object of lcd_device class. .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp struct lcd_device * lcd_device_register (const char * \fIname\fB, void * \fIdevdata\fB, struct lcd_properties * \fIlp\fB); \fR .SH "ARGUMENTS" .TP \fB\fIname\fB\fR the name of the new object(must be the same as the name of the respective framebuffer device). .TP \fB\fIdevdata\fB\fR an optional pointer to be stored in the class_device. The methods may retrieve it by using class_get_devdata(ld->class_dev). .TP \fB\fIlp\fB\fR the lcd properties structure. .SH "DESCRIPTION" .PP Creates and registers a new lcd class_device. Returns either an \fBERR_PTR\fR or a pointer to the newly allocated device.