From: Guenter Roeck Date: Thu, 26 Apr 2012 03:04:08 +0000 (-0700) Subject: Fix size of NCT6775_REG_TEMP_ALTERNATE array X-Git-Tag: nct6775-v0.9~34 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f4ee17e52231262749ab518c5cd121e3e6aae8db;p=groeck-nct6775 Fix size of NCT6775_REG_TEMP_ALTERNATE array Signed-off-by: Guenter Roeck --- diff --git a/nct6775.c b/nct6775.c index 94b3046..9cf99f5 100644 --- a/nct6775.c +++ b/nct6775.c @@ -399,7 +399,7 @@ static const char *const nct6779_temp_label[] = { "BYTE_TEMP" }; -static const u16 NCT6775_REG_TEMP_ALTERNATE[ARRAY_SIZE(nct6779_temp_label)] +static const u16 NCT6775_REG_TEMP_ALTERNATE[ARRAY_SIZE(nct6775_temp_label)] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x661, 0x662, 0x664 }; static const u16 NCT6776_REG_TEMP_ALTERNATE[ARRAY_SIZE(nct6776_temp_label)]