[lm-sensors] [PATCH 02/11] hwmon: (adt7475) Add missing static marker

Jean Delvare khali at linux-fr.org
Wed Dec 2 16:26:26 CET 2009


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

Signed-off-by: Jean Delvare <khali at linux-fr.org>
Cc: Hans de Goede <hdegoede at redhat.com>
Cc: Jordan Crouse <jordan at cosmicpenguin.net>
Cc: "Darrick J. Wong" <djwong at us.ibm.com>
---
 drivers/hwmon/adt7475.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.32-rc8.orig/drivers/hwmon/adt7475.c	2009-11-29 17:43:06.000000000 +0100
+++ linux-2.6.32-rc8/drivers/hwmon/adt7475.c	2009-11-29 17:43:37.000000000 +0100
@@ -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)

-- 
Jean Delvare




More information about the lm-sensors mailing list