block: constify struct part_type part_type
authorThomas Weißschuh <linux@weissschuh.net>
Tue, 30 May 2023 17:09:58 +0000 (19:09 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 30 May 2023 17:12:43 +0000 (11:12 -0600)
commitcdb37f73cf05631c4f7401f2cd99878733c0c3d9
tree17fbebaad45715241074a5a8323bad520db60d74
parent539050f92ea7666bca17c2c380d8071d2f93dcde
block: constify struct part_type part_type

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-2-4e14e48be367@weissschuh.net
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/partitions/core.c
include/linux/blkdev.h