diff options
| author | Ivan Orlov <[email protected]> | 2023-06-20 16:38:00 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-06-23 10:27:26 +0200 |
| commit | 9ee202e69e29470e3a0a2406493538378d4e9a85 (patch) | |
| tree | c8761ee96bf7c2005c93918c704cd74060183c1e /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | 936cb492a13e767c63b75ab84fd321682a18f9a5 (diff) | |
char: xillybus: make xillybus_class a static const structure
Now that the driver core allows for struct class to be in read-only
memory, move the xillybus_class structure to be declared at build time
placing it into read-only memory, instead of having to be dynamically
allocated at load time.
Cc: Eli Billauer <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Suggested-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Ivan Orlov <[email protected]>
Acked-by: Eli Billauer <[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_debugfs.c')
0 files changed, 0 insertions, 0 deletions