Skip to content

Commit

Permalink
hwmon: (adt7475) Add missing static marker
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jean Delvare committed Dec 9, 2009
1 parent cffb9dd commit 54ecb9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/hwmon/adt7475.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 54ecb9e

Please sign in to comment.