diff options
author | Thomas Weißschuh <[email protected]> | 2023-02-16 01:09:00 +0000 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-02-23 17:35:59 -0500 |
commit | 4fa01c6357d5f4ae80b1794c5ecb71c0c66cd528 (patch) | |
tree | a17b6f7092b8617c45576d75e61c1453345b82f6 /drivers/gpu/drm/amd/pm/amdgpu_pm.c | |
parent | b2daaa9360610c584fbe8d7d5e8d1fdb99abc7ef (diff) |
drm/amdkfd: 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 <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions