#include <linux/module.h>
#include <linux/init.h>
#include <linux/i2c.h>
#include <linux/string.h>
#include <linux/list.h>
#include <linux/sysfs.h>
#include <linux/ctype.h>
#include <linux/hwmon-sysfs.h>
Go to the source code of this file.
#define DS1682_EEPROM_SIZE 10 |
#define DS1682_REG_ALARM 0x01 |
#define DS1682_REG_CONFIG 0x00 |
#define DS1682_REG_EEPROM 0x0b |
#define DS1682_REG_ELAPSED 0x05 |
#define DS1682_REG_EVT_CNTR 0x09 |
#define DS1682_REG_RESET 0x1d |
#define DS1682_REG_WRITE_DISABLE 0x1e |
#define DS1682_REG_WRITE_MEM_DISABLE 0x1f |
MODULE_DESCRIPTION |
( |
"DS1682 Elapsed Time Indicator driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
i2c |
, |
|
|
ds1682_id |
|
|
) |
| |
module_i2c_driver |
( |
ds1682_driver |
| ) |
|