hwmon: (adt7475) Add missing static marker
authorJean Delvare <khali@linux-fr.org>
Wed, 9 Dec 2009 19:36:03 +0000 (20:36 +0100)
committerJean Delvare <khali@linux-fr.org>
Wed, 9 Dec 2009 19:36:03 +0000 (20:36 +0100)
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>
drivers/hwmon/adt7475.c

index e9f69ee197d736b3b21a105574c55847f9efcfb7..20bab51e16f408ec791d9860dd7ebce01d89f487 100644 (file)
@@ -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)