summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/adt7475.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2009-12-09 20:36:03 +0100
committerJean Delvare <khali@linux-fr.org>2009-12-09 20:36:03 +0100
commit54ecb9e3c194687eebabe7ca45bae889ac1cd4de (patch)
tree27dec461705a840900f2250b4424686c84ef87b7 /drivers/hwmon/adt7475.c
parentcffb9dd07fea8865093f6ccfb51d686487b89415 (diff)
downloadlinux-stable-54ecb9e3c194687eebabe7ca45bae889ac1cd4de.tar.gz
linux-stable-54ecb9e3c194687eebabe7ca45bae889ac1cd4de.tar.bz2
linux-stable-54ecb9e3c194687eebabe7ca45bae889ac1cd4de.zip
hwmon: (adt7475) Add missing static marker
adt7475_attr_group is used internally only and can thus be marked static. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: Hans de Goede <hdegoede@redhat.com> Cc: Jordan Crouse <jordan@cosmicpenguin.net> Cc: "Darrick J. Wong" <djwong@us.ibm.com>
Diffstat (limited to 'drivers/hwmon/adt7475.c')
-rw-r--r--drivers/hwmon/adt7475.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/adt7475.c b/drivers/hwmon/adt7475.c
index e9f69ee197d7..20bab51e16f4 100644
--- a/drivers/hwmon/adt7475.c
+++ b/drivers/hwmon/adt7475.c
@@ -1008,7 +1008,7 @@ static struct attribute *adt7475_attrs[] = {
NULL,
};
-struct attribute_group adt7475_attr_group = { .attrs = adt7475_attrs };
+static struct attribute_group adt7475_attr_group = { .attrs = adt7475_attrs };
static int adt7475_detect(struct i2c_client *client, int kind,
struct i2c_board_info *info)