#include <linux/module.h>
#include <linux/miscdevice.h>
#include <linux/delay.h>
#include <linux/proc_fs.h>
#include <linux/capability.h>
#include <linux/init.h>
#include <linux/mutex.h>
#include <mach/hardware.h>
#include <asm/mach-types.h>
#include <asm/uaccess.h>
#include <asm/therm.h>
Go to the source code of this file.
| #define THERM_READ_CONFIG 0xac |
| #define THERM_READ_TEMP 0xaa |
| #define THERM_READ_TH 0xa1 |
| #define THERM_READ_TL 0xa2 |
| #define THERM_START_CONVERT 0xee |
| #define THERM_WRITE_CONFIG 0x0c |
| #define THERM_WRITE_TH 0x01 |
| #define THERM_WRITE_TL 0x02 |
| module_exit |
( |
ds1620_exit |
| ) |
|
| module_init |
( |
ds1620_init |
| ) |
|