diff options
| author | Ivan Orlov <[email protected]> | 2023-06-20 16:37:52 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-06-23 10:27:05 +0200 |
| commit | e55ce9fd3d8fbf4e94fd5d0c72eb5b7d01fc4574 (patch) | |
| tree | 12282c6c111fdab7cc4897b712d7e6a225ef636a /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | 02fa4bcf4d15d7c93e6bb09d000d291dc2eb410e (diff) | |
bsr: make bsr_class a static const structure
Now that the driver core allows for struct class to be in read-only
memory, move the bsr_class structure to be declared at build time
placing it into read-only memory, instead of having to be dynamically
allocated at boot time.
Cc: Arnd Bergmann <[email protected]>
Suggested-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Ivan Orlov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions