From 29a0a089a0987bfeddad497cd4fee3f39db4228c Mon Sep 17 00:00:00 2001 From: Guenter Roeck Date: Wed, 25 Apr 2012 19:54:45 -0700 Subject: [PATCH] Fix temp10_max_hyst temp9_max_hyst was defined twice, and temp10_max_hyst was missing Signed-off-by: Guenter Roeck --- nct6775.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nct6775.c b/nct6775.c index dc3382a..a6ae980 100644 --- a/nct6775.c +++ b/nct6775.c @@ -1640,7 +1640,7 @@ static struct sensor_device_attribute_2 sda_temp_max_hyst[] = { 7, 2), SENSOR_ATTR_2(temp9_max_hyst, S_IRUGO | S_IWUSR, show_temp, store_temp, 8, 2), - SENSOR_ATTR_2(temp9_max_hyst, S_IRUGO | S_IWUSR, show_temp, store_temp, + SENSOR_ATTR_2(temp10_max_hyst, S_IRUGO | S_IWUSR, show_temp, store_temp, 9, 2), }; -- 2.39.5