RCS file: /usr/local/src/lm_sensors-2.8.8/kernel/chips/lm93.c,v retrieving revision 1.13 diff -u -d -r1.13 lm93.c --- kernel/chips/lm93.c 22 Oct 2004 04:26:45 -0000 1.13 +++ kernel/chips/lm93.c 23 Oct 2004 09:14:42 -0000 @@ -1707,10 +1707,12 @@ if (operation == SENSORS_PROC_REAL_INFO) *nrels_mag = 0; else if (operation == SENSORS_PROC_REAL_READ) { + int mapping; + lm93_update_client(client); /* extract the relevant mapping */ - int mapping = (data->sf_tach_to_pwm >> (nr * 2)) & 0x03; + mapping = (data->sf_tach_to_pwm >> (nr * 2)) & 0x03; /* if there's a mapping and it's enabled */ if (mapping && ((data->sfc2 >> nr) & 0x01))