diff options
| author | Thomas Weißschuh <[email protected]> | 2023-02-17 03:13:22 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2023-02-17 08:16:34 +0000 |
| commit | fb073aa27a7e1b8c968c05c5447a77d49e832ec5 (patch) | |
| tree | 42c56484c40dbe4a47c0f7edfae7e91a47016bf2 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | drm/shmem-helper: Fix locking for drm_gem_shmem_get_pages_sgt() (diff) | |
| download | kernel-fb073aa27a7e1b8c968c05c5447a77d49e832ec5.tar.gz kernel-fb073aa27a7e1b8c968c05c5447a77d49e832ec5.zip | |
dma-buf: make kobj_type structure 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 definition to prevent
modification at runtime.
Signed-off-by: Thomas Weißschuh <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions
