From 8b6882e8d6ff6c5d9d140cdece0c50f816235122 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Thu, 10 Jan 2008 08:10:20 +0000 Subject: [PATCH] Fix lm93 vid2 access (#2295). It got broken by r4745. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5105 7894878c-1315-0410-8ee3-d5d059ff63e0 --- CHANGES | 1 + lib/chips.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index ab7df02b..1cebc265 100644 --- a/CHANGES +++ b/CHANGES @@ -5,6 +5,7 @@ SVN-HEAD Library: Fix fschrc and fschmd support Fix sysfs presence detection Don't choke on unrecognized devices (#2087) + Fix lm93 vid2 access (#2295) Makefile: Revert changeset 4738, fix bug #2187 differently Module adm1026: Various cleanups Module eeprom: Hide Sony Vaio serial numbers to regular users (2.6 backport) diff --git a/lib/chips.c b/lib/chips.c index daf9d248..62358c4f 100644 --- a/lib/chips.c +++ b/lib/chips.c @@ -1219,7 +1219,7 @@ static sensors_chip_feature lm93_features[] = { SENSORS_LM93_TEMP_MIN_MAX(3), { { SENSORS_LM93_VID1, "vid1", NOMAP, NOMAP, R }, LM93_SYSCTL_VID1, VALUE(1), 3, "cpu0_vid", 3, "vid1" }, - { { SENSORS_LM93_VID1, "vid2", NOMAP, NOMAP, R }, + { { SENSORS_LM93_VID2, "vid2", NOMAP, NOMAP, R }, LM93_SYSCTL_VID2, VALUE(1), 3, "cpu1_vid", 3, "vid2" }, { { SENSORS_LM93_ALARMS, "alarms", NOMAP, NOMAP, R }, LM93_SYSCTL_ALARMS, VALUE(1), 0 },