summaryrefslogtreecommitdiff
path: root/block/blk-crypto-sysfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/blk-crypto-sysfs.c')
-rw-r--r--block/blk-crypto-sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-crypto-sysfs.c b/block/blk-crypto-sysfs.c
index 55268edc0625..a304434489ba 100644
--- a/block/blk-crypto-sysfs.c
+++ b/block/blk-crypto-sysfs.c
@@ -116,7 +116,7 @@ static void blk_crypto_release(struct kobject *kobj)
kfree(container_of(kobj, struct blk_crypto_kobj, kobj));
}
-static struct kobj_type blk_crypto_ktype = {
+static const struct kobj_type blk_crypto_ktype = {
.default_groups = blk_crypto_attr_groups,
.sysfs_ops = &blk_crypto_attr_ops,
.release = blk_crypto_release,