#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/jiffies.h>
#include <linux/i2c.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/err.h>
#include <linux/mutex.h>
Go to the source code of this file.
#define FAN_RPM_FACTOR 3932160 |
#define REG_FAN_CONF1 0x42 |
#define REG_FAN_TACH_HI 0x4e |
#define REG_FAN_TACH_LO 0x4f |
#define REG_FAN_TARGET_HI 0x4d |
#define REG_FAN_TARGET_LO 0x4c |
#define REG_PRODUCT_ID 0xfd |
#define REG_TEMP_MAX_ALARM 0x24 |
#define REG_TEMP_MIN_ALARM 0x25 |
MODULE_DESCRIPTION |
( |
"SMSC EMC2103 hwmon driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
i2c |
, |
|
|
emc2103_ids |
|
|
) |
| |
module_i2c_driver |
( |
emc2103_driver |
| ) |
|
module_param |
( |
apd |
, |
|
|
bint |
, |
|
|
0 |
|
|
) |
| |