Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
lcd.h File Reference
#include <linux/device.h>
#include <linux/mutex.h>
#include <linux/notifier.h>
#include <linux/fb.h>

Go to the source code of this file.

Data Structures

struct  lcd_properties
 
struct  lcd_ops
 
struct  lcd_device
 
struct  lcd_platform_data
 

Macros

#define to_lcd_device(obj)   container_of(obj, struct lcd_device, dev)
 

Functions

struct lcd_devicelcd_device_register (const char *name, struct device *parent, void *devdata, struct lcd_ops *ops)
 
void lcd_device_unregister (struct lcd_device *ld)
 

Macro Definition Documentation

#define to_lcd_device (   obj)    container_of(obj, struct lcd_device, dev)

Definition at line 117 of file lcd.h.

Function Documentation

struct lcd_device* lcd_device_register ( const char name,
struct device parent,
void devdata,
struct lcd_ops ops 
)
read

Definition at line 200 of file lcd.c.

void lcd_device_unregister ( struct lcd_device ld)

lcd_device_unregister - unregisters a object of lcd_device class. : the lcd device object to be unregistered and freed.

Unregisters a previously registered via lcd_device_register object.

Definition at line 245 of file lcd.c.