summaryrefslogtreecommitdiff
path: root/drivers/md/bcache/sysfs.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2023-09-06 00:08:14 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2023-09-06 00:08:14 +0300
commit34069d12e239ae8f36dd96c378e4622fb1c42a76 (patch)
treeb33fabf1a4cc7530e93ab416f3156bdfe601a3a0 /drivers/md/bcache/sysfs.h
parent54116d442e001e1b6bd482122043b1870998a1f3 (diff)
parent2dde18cd1d8fac735875f2e4987f11817cc0bc2c (diff)
downloadlinux-34069d12e239ae8f36dd96c378e4622fb1c42a76.tar.xz
Merge tag 'v6.5' into next
Sync up with mainline to bring in updates to the shared infrastructure.
Diffstat (limited to 'drivers/md/bcache/sysfs.h')
-rw-r--r--drivers/md/bcache/sysfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bcache/sysfs.h b/drivers/md/bcache/sysfs.h
index a2ff6447b699..65b8bd975ab1 100644
--- a/drivers/md/bcache/sysfs.h
+++ b/drivers/md/bcache/sysfs.h
@@ -3,7 +3,7 @@
#define _BCACHE_SYSFS_H_
#define KTYPE(type) \
-struct kobj_type type ## _ktype = { \
+const struct kobj_type type ## _ktype = { \
.release = type ## _release, \
.sysfs_ops = &((const struct sysfs_ops) { \
.show = type ## _show, \