On Thu, Jul 11, 2013 at 10:21:00AM +0530, Sachin Kamat wrote: > abx500_temp_attributes is used only in this file. Make it static. > > Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx> Good catch. Applied. Thanks, Guenter > --- > drivers/hwmon/abx500.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/hwmon/abx500.c b/drivers/hwmon/abx500.c > index eee1134..769fe20 100644 > --- a/drivers/hwmon/abx500.c > +++ b/drivers/hwmon/abx500.c > @@ -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, > -- > 1.7.9.5 > > _______________________________________________ lm-sensors mailing list lm-sensors@xxxxxxxxxxxxxx http://lists.lm-sensors.org/mailman/listinfo/lm-sensors