]> git.sur5r.net Git - groeck-nct6775/commitdiff
Fix size of NCT6775_REG_TEMP_ALTERNATE array
authorGuenter Roeck <linux@roeck-us.net>
Thu, 26 Apr 2012 03:04:08 +0000 (20:04 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 26 Apr 2012 03:04:08 +0000 (20:04 -0700)
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
nct6775.c

index 94b304620c2475856bca1e8de2c79a904ffc8ec0..9cf99f506691bc9ec3ca74f6e59c0c8453bcfae0 100644 (file)
--- 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)]