#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/jiffies.h>
Go to the source code of this file.
| #define LTC4151_ADIN_H 0x04 |
| #define LTC4151_ADIN_L 0x05 |
| #define LTC4151_SENSE_H 0x00 |
| #define LTC4151_SENSE_L 0x01 |
| #define LTC4151_VIN_H 0x02 |
| #define LTC4151_VIN_L 0x03 |
| MODULE_DESCRIPTION |
( |
"LTC4151 driver" |
| ) |
|
| MODULE_DEVICE_TABLE |
( |
i2c |
, |
|
|
ltc4151_id |
|
|
) |
| |
| module_i2c_driver |
( |
ltc4151_driver |
| ) |
|