From 7c7eb714091a92e909cc657eca6c225c8bb5a6f9 Mon Sep 17 00:00:00 2001 From: "Mark D. Studebaker" Date: Thu, 4 Jul 2002 17:14:52 +0000 Subject: [PATCH] prep for separate vt8231 recognition git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1420 7894878c-1315-0410-8ee3-d5d059ff63e0 --- kernel/chips/via686a.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/kernel/chips/via686a.c b/kernel/chips/via686a.c index 9cea7066..f0c663bc 100644 --- a/kernel/chips/via686a.c +++ b/kernel/chips/via686a.c @@ -80,7 +80,7 @@ static unsigned int normal_isa[] = { 0x0000, SENSORS_ISA_END }; static unsigned int normal_isa_range[] = { SENSORS_ISA_END }; /* Insmod parameters */ -SENSORS_INSMOD_1(via686a); +SENSORS_INSMOD_2(via686a, vt8231); /* The Via 686a southbridge has a LM78-like chip integrated on the same IC. @@ -856,8 +856,7 @@ void via686a_fan(struct i2c_client *client, int operation, int ctl_name, results[0] = FAN_FROM_REG(data->fan_min[nr - 1], DIV_FROM_REG(data->fan_div [nr - 1])); - results[1] = - FAN_FROM_REG(data->fan[nr - 1], + results[1] = FAN_FROM_REG(data->fan[nr - 1], DIV_FROM_REG(data->fan_div[nr - 1])); *nrels_mag = 2; } else if (operation == SENSORS_PROC_REAL_WRITE) {