diff options
author | 2023-02-09 03:21:13 +0000 | |
---|---|---|
committer | 2023-02-15 08:11:26 +0800 | |
commit | 339bc4d3cd251e8d05e44abebadba5ff9baa1d68 (patch) | |
tree | e708cf00233a1a37ac48ade3448e4918fff1fc18 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | erofs: add per-cpu threads for decompression as an option (diff) | |
download | wireguard-linux-339bc4d3cd251e8d05e44abebadba5ff9baa1d68.tar.xz wireguard-linux-339bc4d3cd251e8d05e44abebadba5ff9baa1d68.zip |
erofs: make kobj_type structures constant
Since commit ee6d3dd4ed48 ("driver core: make kobj_type constant.")
the driver core allows the usage of const struct kobj_type.
Take advantage of this to constify the structure definitions to prevent
modification at runtime.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Reviewed-by: Jingbo Xu <jefflexu@linux.alibaba.com>
Reviewed-by: Yue Hu <huyue2@coolpad.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Link: https://lore.kernel.org/r/20230209-kobj_type-erofs-v1-1-078c945e2c4b@weissschuh.net
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions