]> git.sur5r.net Git - groeck-nct6775/commitdiff
temp[] array needs to have an entry for temp_lcrit
authorGuenter Roeck <linux@roeck-us.net>
Thu, 18 Jul 2013 07:49:54 +0000 (00:49 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 18 Jul 2013 07:49:54 +0000 (00:49 -0700)
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
nct6775.c

index 075bb3679ac54a8f7e70ba5ce569bc0e1d909a6b..37db9499ce98a9c78b08099eace22f847fa20f64 100644 (file)
--- a/nct6775.c
+++ b/nct6775.c
@@ -814,8 +814,8 @@ struct nct6775_data {
        u8 temp_fixed_num;      /* 3 or 6 */
        u8 temp_type[NUM_TEMP_FIXED];
        s8 temp_offset[NUM_TEMP_FIXED];
-       s16 temp[4][NUM_TEMP]; /* 0=temp, 1=temp_over, 2=temp_hyst,
-                               * 3=temp_crit */
+       s16 temp[5][NUM_TEMP]; /* 0=temp, 1=temp_over, 2=temp_hyst,
+                               * 3=temp_crit, 4=temp_lcrit */
        u64 alarms;
        u64 beeps;