hwmon: (abx500) Staticize abx500_temp_attributes
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 11 Jul 2013 04:51:00 +0000 (10:21 +0530)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 14 Jul 2013 23:24:25 +0000 (16:24 -0700)
abx500_temp_attributes is used only in this file. Make it static.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/abx500.c

index eee1134..769fe20 100644 (file)
@@ -315,7 +315,7 @@ static SENSOR_DEVICE_ATTR(temp4_max_hyst, S_IWUSR | S_IRUGO,
 static SENSOR_DEVICE_ATTR(temp4_min_alarm, S_IRUGO, show_min_alarm, NULL, 3);
 static SENSOR_DEVICE_ATTR(temp4_max_alarm, S_IRUGO, show_max_alarm, NULL, 3);
 
-struct attribute *abx500_temp_attributes[] = {
+static struct attribute *abx500_temp_attributes[] = {
        &sensor_dev_attr_name.dev_attr.attr,
 
        &sensor_dev_attr_temp1_label.dev_attr.attr,