block: constify struct part_attr_group

The struct is never modified so it can be const.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20230419-const-partition-v3-3-4e14e48be367@weissschuh.net
Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
Thomas Weißschuh 2023-05-30 19:09:59 +02:00 committed by Jens Axboe
parent cdb37f73cf
commit 0bd478005c

View file

@ -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,
};