diff options
author | Jean Delvare <khali@linux-fr.org> | 2005-07-31 15:52:01 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-09-05 12:14:22 -0400 |
commit | 303760b44a7a142cb9f4c9df4609fb63bbda98db (patch) | |
tree | 8097f99cd993bc005b25e14a5690770b6e351195 /include | |
parent | f4b50261207c987913f076d867c2e154d71fd012 (diff) |
[PATCH] hwmon: hwmon vs i2c, second round (07/11)
The only part left in i2c-sensor is the VRM/VRD/VID handling code.
This is in no way related to i2c, so it doesn't belong there. Move
the code to hwmon, where it belongs.
Note that not all hardware monitoring drivers do VRM/VRD/VID
operations, so less drivers depend on hwmon-vid than there were
depending on i2c-sensor.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/hwmon-vid.h (renamed from include/linux/i2c-vid.h) | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/i2c-vid.h b/include/linux/hwmon-vid.h index 41d0635e0ba9..c45cd872c55e 100644 --- a/include/linux/i2c-vid.h +++ b/include/linux/hwmon-vid.h | |||
@@ -1,6 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | i2c-vid.h - Part of lm_sensors, Linux kernel modules for hardware | 2 | hwmon-vid.h - VID/VRM/VRD voltage conversions |
3 | monitoring | 3 | |
4 | Originally part of lm_sensors | ||
4 | Copyright (c) 2002 Mark D. Studebaker <mdsxyz123@yahoo.com> | 5 | Copyright (c) 2002 Mark D. Studebaker <mdsxyz123@yahoo.com> |
5 | With assistance from Trent Piepho <xyzzy@speakeasy.org> | 6 | With assistance from Trent Piepho <xyzzy@speakeasy.org> |
6 | 7 | ||
@@ -50,7 +51,7 @@ | |||
50 | to avoid floating point in the kernel. | 51 | to avoid floating point in the kernel. |
51 | */ | 52 | */ |
52 | 53 | ||
53 | int i2c_which_vrm(void); | 54 | int vid_which_vrm(void); |
54 | 55 | ||
55 | #define DEFAULT_VRM 82 | 56 | #define DEFAULT_VRM 82 |
56 | 57 | ||