提交 54ecb9e3 编写于 作者: J Jean Delvare

hwmon: (adt7475) Add missing static marker

adt7475_attr_group is used internally only and can thus be marked
static.
Signed-off-by: NJean 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>
上级 cffb9dd0
...@@ -1008,7 +1008,7 @@ static struct attribute *adt7475_attrs[] = { ...@@ -1008,7 +1008,7 @@ static struct attribute *adt7475_attrs[] = {
NULL, 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, static int adt7475_detect(struct i2c_client *client, int kind,
struct i2c_board_info *info) struct i2c_board_info *info)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册