Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
emc1403.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/err.h>
#include <linux/sysfs.h>
#include <linux/mutex.h>
#include <linux/jiffies.h>

Go to the source code of this file.

Data Structures

struct  thermal_data
 

Macros

#define THERMAL_PID_REG   0xfd
 
#define THERMAL_SMSC_ID_REG   0xfe
 
#define THERMAL_REVISION_REG   0xff
 

Functions

 MODULE_DEVICE_TABLE (i2c, emc1403_idtable)
 
 module_i2c_driver (sensor_emc1403)
 
 MODULE_AUTHOR ("Kalhan Trisal <[email protected]")
 
 MODULE_DESCRIPTION ("emc1403 Thermal Driver")
 
 MODULE_LICENSE ("GPL v2")
 

Macro Definition Documentation

#define THERMAL_PID_REG   0xfd

Definition at line 38 of file emc1403.c.

#define THERMAL_REVISION_REG   0xff

Definition at line 40 of file emc1403.c.

#define THERMAL_SMSC_ID_REG   0xfe

Definition at line 39 of file emc1403.c.

Function Documentation

MODULE_AUTHOR ( )
MODULE_DESCRIPTION ( "emc1403 Thermal Driver"  )
MODULE_DEVICE_TABLE ( i2c  ,
emc1403_idtable   
)
module_i2c_driver ( sensor_emc1403  )
MODULE_LICENSE ( "GPL v2 )