hwmon: (adt7475) Add missing static
Subsystems (2)
PATCH 2/11 hwmon: (adt7475) Add missing static
adt7475_attr_group is used internally only and can thus be marked static.
Signed-off-by Jean Delvare <[email protected]>
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