block: constify the whole_disk device_attribute
authorThomas Weißschuh <linux@weissschuh.net>
Tue, 30 May 2023 17:10:00 +0000 (19:10 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 30 May 2023 17:12:43 +0000 (11:12 -0600)
commita378f6a40fac4a2f1812adea7017613d2bd5dab6
treecae324bc09f1bf5d81e8247b6e2b0854f81d8aca
parent0bd478005cfc7f50ccb769744d952e9687ee75b4
block: constify the whole_disk device_attribute

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