With the addition of tempX_crit, there are four sets of temperature values
in the temp[][] array, but it was declared with a size of three. Fix it.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
u8 temp_fixed_num; /* 3 or 6 */
u8 temp_type[NUM_TEMP_FIXED];
s8 temp_offset[NUM_TEMP_FIXED];
- s16 temp[3][NUM_TEMP]; /* 0=temp, 1=temp_over, 2=temp_hyst */
+ s16 temp[4][NUM_TEMP]; /* 0=temp, 1=temp_over, 2=temp_hyst,
+ * 3=temp_crit */
u64 alarms;
u8 pwm_num; /* number of pwm */