summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/abx500.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-07-11 06:51:00 +0200
committerGuenter Roeck <linux@roeck-us.net>2013-07-15 01:24:25 +0200
commit0b905d83c4db7ae98718c44d79c717836a2ecaa7 (patch)
tree4809fe8d498e7fa8a051893b8cf972715db14577 /drivers/hwmon/abx500.c
parentLinux 3.11-rc1 (diff)
downloadlinux-0b905d83c4db7ae98718c44d79c717836a2ecaa7.tar.xz
linux-0b905d83c4db7ae98718c44d79c717836a2ecaa7.zip
hwmon: (abx500) Staticize abx500_temp_attributes
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>
Diffstat (limited to 'drivers/hwmon/abx500.c')
-rw-r--r--drivers/hwmon/abx500.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/abx500.c b/drivers/hwmon/abx500.c
index eee1134274c8..769fe20ec938 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,