LCD_DEVICE_REGISTER

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

lcd_device_register - register a new object of lcd_device class.  

SYNOPSIS

"SYNOPSIS"

struct lcd_device * lcd_device_register (const char * name, void * devdata, struct lcd_properties * lp);  

ARGUMENTS

name
the name of the new object(must be the same as the name of the respective framebuffer device).
devdata
an optional pointer to be stored in the class_device. The methods may retrieve it by using class_get_devdata(ld->class_dev).
lp
the lcd properties structure.
 

DESCRIPTION

Creates and registers a new lcd class_device. Returns either an ERR_PTR or a pointer to the newly allocated device.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:22 GMT, October 09, 2005