diff --git a/drivers/block/rbd.c b/drivers/block/rbd.c index b6e269b4d534b60c0560a07e9da471a9d7123b00..ffb8d3afc6b41d06fcc9bafdbef266e5019d28f4 100644 --- a/drivers/block/rbd.c +++ b/drivers/block/rbd.c @@ -4630,7 +4630,7 @@ static const struct attribute_group *rbd_attr_groups[] = { static void rbd_dev_release(struct device *dev); -static struct device_type rbd_device_type = { +static const struct device_type rbd_device_type = { .name = "rbd", .groups = rbd_attr_groups, .release = rbd_dev_release,