return attr->mode;
}
-static struct attribute_group typec_altmode_group = {
+static const struct attribute_group typec_altmode_group = {
.is_visible = typec_altmode_attr_is_visible,
.attrs = typec_altmode_attrs,
};
return attr->mode;
}
-static struct attribute_group typec_partner_group = {
+static const struct attribute_group typec_partner_group = {
.is_visible = typec_partner_attr_is_visible,
.attrs = typec_partner_attrs
};
return attr->mode;
}
-static struct attribute_group typec_plug_group = {
+static const struct attribute_group typec_plug_group = {
.is_visible = typec_plug_attr_is_visible,
.attrs = typec_plug_attrs
};
return attr->mode;
}
-static struct attribute_group typec_group = {
+static const struct attribute_group typec_group = {
.is_visible = typec_attr_is_visible,
.attrs = typec_attrs,
};