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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Jean Delvare <khali@xxxxxxxxxxxx>
Cc: Hans de Goede <hdegoede@xxxxxxxxxx>
Cc: Jordan Crouse <jordan@xxxxxxxxxxxxxxxxx>
Cc: "Darrick J. Wong" <djwong@xxxxxxxxxx>
---
 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

_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux