Commit 0bd47800 authored by Thomas Weißschuh's avatar Thomas Weißschuh Committed by Jens Axboe

block: constify struct part_attr_group

The struct is never modified so it can be const.
Signed-off-by: default avatarThomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20230419-const-partition-v3-3-4e14e48be367@weissschuh.netSigned-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent cdb37f73
......@@ -228,7 +228,7 @@ static struct attribute *part_attrs[] = {
NULL
};
static struct attribute_group part_attr_group = {
static const struct attribute_group part_attr_group = {
.attrs = part_attrs,
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment