Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
cma3000_d0x_i2c.c File Reference
#include <linux/module.h>
#include <linux/i2c.h>
#include <linux/input/cma3000.h>
#include "cma3000_d0x.h"

Go to the source code of this file.

Macros

#define CMA3000_BUSI2C   (0 << 4)
 

Functions

 MODULE_DEVICE_TABLE (i2c, cma3000_i2c_id)
 
 module_i2c_driver (cma3000_i2c_driver)
 
 MODULE_DESCRIPTION ("CMA3000-D0x Accelerometer I2C Driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Hemanth V <[email protected]>")
 

Macro Definition Documentation

#define CMA3000_BUSI2C   (0 << 4)

Function Documentation

MODULE_AUTHOR ( "Hemanth V <[email protected]>"  )
MODULE_DESCRIPTION ( "CMA3000-D0x Accelerometer I2C Driver"  )
MODULE_DEVICE_TABLE ( i2c  ,
cma3000_i2c_id   
)
module_i2c_driver ( cma3000_i2c_driver  )
MODULE_LICENSE ( "GPL"  )