Skip to content

Commit

Permalink
From patchwork series 421021
Browse files Browse the repository at this point in the history
  • Loading branch information
Fox Snowpatch committed Aug 26, 2024
1 parent ddf9a4c commit 4d9ef9e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion arch/powerpc/kernel/cacheinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ static const struct sysfs_ops cache_index_ops = {
.show = cache_index_show,
};

static struct kobj_type cache_index_type = {
static const struct kobj_type cache_index_type = {
.release = cache_index_release,
.sysfs_ops = &cache_index_ops,
.default_groups = cache_index_default_groups,
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/kernel/secvar-sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ static const struct attribute_group secvar_attr_group = {
};
__ATTRIBUTE_GROUPS(secvar_attr);

static struct kobj_type secvar_ktype = {
static const struct kobj_type secvar_ktype = {
.sysfs_ops = &kobj_sysfs_ops,
.default_groups = secvar_attr_groups,
};
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/powernv/opal-dump.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ static struct attribute *dump_default_attrs[] = {
};
ATTRIBUTE_GROUPS(dump_default);

static struct kobj_type dump_ktype = {
static const struct kobj_type dump_ktype = {
.sysfs_ops = &dump_sysfs_ops,
.release = &dump_release,
.default_groups = dump_default_groups,
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/powernv/opal-elog.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ static struct attribute *elog_default_attrs[] = {
};
ATTRIBUTE_GROUPS(elog_default);

static struct kobj_type elog_ktype = {
static const struct kobj_type elog_ktype = {
.sysfs_ops = &elog_sysfs_ops,
.release = &elog_release,
.default_groups = elog_default_groups,
Expand Down
4 changes: 2 additions & 2 deletions arch/powerpc/platforms/pseries/vas-sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,13 +162,13 @@ static const struct sysfs_ops vas_sysfs_ops = {
.store = vas_type_store,
};

static struct kobj_type vas_def_attr_type = {
static const struct kobj_type vas_def_attr_type = {
.release = vas_type_release,
.sysfs_ops = &vas_sysfs_ops,
.default_groups = vas_def_capab_groups,
};

static struct kobj_type vas_qos_attr_type = {
static const struct kobj_type vas_qos_attr_type = {
.release = vas_type_release,
.sysfs_ops = &vas_sysfs_ops,
.default_groups = vas_qos_capab_groups,
Expand Down

0 comments on commit 4d9ef9e

Please sign in to comment.