From f4ee17e52231262749ab518c5cd121e3e6aae8db Mon Sep 17 00:00:00 2001 From: Guenter Roeck Date: Wed, 25 Apr 2012 20:04:08 -0700 Subject: [PATCH] Fix size of NCT6775_REG_TEMP_ALTERNATE array Signed-off-by: Guenter Roeck --- nct6775.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)] -- 2.39.5