Skip to contentSkip to conversation

hwmon: (adt7475) Add missing static

PATCH In review Jean Delvare 1 participant 1 message Dec 2, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/11 hwmon: (adt7475) Add missing static

adt7475_attr_group is used internally only and can thus be marked static.

Cc Hans de Goede <[email protected]>
Cc Jordan Crouse <[email protected]>
Cc "Darrick J. Wong" <[email protected]>
---
 drivers/hwmon/adt7475.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hwmon/adt7475.c +1 -1
@@ -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)
Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors