Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
lm.h File Reference

Go to the source code of this file.

Data Structures

struct  lm_device
 
struct  lm_driver
 

Macros

#define lm_get_drvdata(lm)   dev_get_drvdata(&(lm)->dev)
 
#define lm_set_drvdata(lm, d)   dev_set_drvdata(&(lm)->dev, d)
 

Functions

int lm_driver_register (struct lm_driver *drv)
 
void lm_driver_unregister (struct lm_driver *drv)
 
int lm_device_register (struct lm_device *dev)
 

Macro Definition Documentation

#define lm_get_drvdata (   lm)    dev_get_drvdata(&(lm)->dev)

Definition at line 22 of file lm.h.

#define lm_set_drvdata (   lm,
  d 
)    dev_set_drvdata(&(lm)->dev, d)

Definition at line 23 of file lm.h.

Function Documentation

int lm_device_register ( struct lm_device dev)

Definition at line 77 of file lm.c.

int lm_driver_register ( struct lm_driver drv)

Definition at line 59 of file lm.c.

void lm_driver_unregister ( struct lm_driver drv)

Definition at line 65 of file lm.c.