From: Guenter Roeck Date: Thu, 18 Jul 2013 07:49:54 +0000 (-0700) Subject: temp[] array needs to have an entry for temp_lcrit X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=aa86b36874b261cd5c664b55e6028d3c63376431;p=groeck-nct6775 temp[] array needs to have an entry for temp_lcrit Signed-off-by: Guenter Roeck --- diff --git a/nct6775.c b/nct6775.c index 075bb36..37db949 100644 --- 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;