#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/jiffies.h>
#include <linux/platform_device.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/err.h>
#include <linux/mutex.h>
#include "sch56xx-common.h"
Go to the source code of this file.
#define DRVNAME "sch5627" |
#define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ": " fmt |
#define SCH5627_COMPANY_ID 0x5c |
#define SCH5627_HWMON_ID 0xa5 |
#define SCH5627_NO_FANS 4 |
#define SCH5627_NO_TEMPS 8 |
#define SCH5627_PRIMARY_ID 0xa0 |
#define SCH5627_REG_BUILD_CODE 0x39 |
#define SCH5627_REG_BUILD_ID 0x3a |
#define SCH5627_REG_COMPANY_ID 0x3e |
#define SCH5627_REG_CTRL 0x40 |
#define SCH5627_REG_HWMON_ID 0x3c |
#define SCH5627_REG_HWMON_REV 0x3d |
#define SCH5627_REG_PRIMARY_ID 0x3f |
MODULE_DESCRIPTION |
( |
"SMSC SCH5627 Hardware Monitoring Driver" |
| ) |
|
module_platform_driver |
( |
sch5627_driver |
| ) |
|