BACKLIGHT_DEVICE_REGISTER

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

 

NAME

backlight_device_register - create and register a new object of  

SYNOPSIS

"SYNOPSIS"

struct backlight_device * backlight_device_register (const char * name, void * devdata, struct backlight_properties * bp);  

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(&bd->class_dev).
bp
the backlight properties structure.
 

DESCRIPTION

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

DESCRIPTION

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


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
DESCRIPTION

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